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年前2427ビュー
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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ