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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠