Length Limit on EnvironmentVariables configuration parameter?

1

Does the EnvironmentVariables configuration parameter for CodeBuild actions (https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference-CodeBuild.html#action-reference-CodeBuild-config) have a length limit? If so, what is it?

m4dc4p
已提问 4 年前2426 查看次数
2 回答
1

There's no specific limit for the length of environment variables, but as noted in https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference-CodeBuild.html#action-reference-CodeBuild-config there's an overall limit of 1000 characters.

When you enter the name, value, and type for your environment variables configuration, especially if the environment variable contains CodePipeline output variable syntax, do not exceed the 1000-character limit for the configuration’s value field. A validation error is returned when this limit is exceeded.

已回答 4 年前
0

Kaixiang-AWS wrote:

When you enter the name, value, and type for your environment variables configuration, especially if the environment variable contains CodePipeline output variable syntax, do not exceed the 1000-character limit for the configuration’s value field. A validation error is returned when this limit is exceeded.

Thank you for that! I interpret the docs as saying the "value" field for each environment variable cannot exceed 1000 characters.

For example, could I have three environment variables, each with a 900-character value?

Thank you for clarifying!

m4dc4p
已回答 4 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则