Codebuild Action Configurator 1000 Character limit

0

Is there a best practice workaround for the Codebuild Action Configurator 1000 Character limit? Ref: https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-variables.html. The customer has hit an obscure error with CodeBuild Action Configuration blocks for defining environment variables.

1回答
0

Hi Kawhik,

Do you have some sample of such configuration?

In general CodePipeline actions are only meant to transport dynamic values from pipeline runtime. You can off-load as much static configuration as possible to CodeBuild project setup itself and just specify overrides in CodePipeline action (eg. define most environment variables in buildspec/project definition and then only pass extra values via pipeline).

Another way is (as usual in case of passing large chunks between AWS services) to upload some big results into S3 and then load them in CodeBuild project at run-time.

Also, if the limit is hit by just some margin you have to remember that it's literally about characters count - dropping whitespace characters can help you pack more.

But still - would be good to see example.

回答済み 2年前

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

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

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

関連するコンテンツ