Code Catalyst CDK Deploy Action not exporting CFN Outputs as expected

0

I want to have CFN Outputs of CDK Deploy action as workflow variables.By default, the action only exposes the first four (or fewer) CloudFormation output variables that it finds. The documentation suggests If the variables listed on the Variables tab are not what you want, you can configure different ones using the CfnOutputVariables YAML property. I have included the property CfnOutputVariables in CDK Deploy Action configuration but still I cannot see my specific CFN outputs as emitted variables.

During my testing I have observed that it only works for first three variables, for example if I set CfnOutputVariables as following: CfnOutputVariables: '["Var1","Var2","Var3","Var4"]' Then only Var1,Var2,Var3 are exposed as workflow variables, Var4 is ignored.

Kashan
질문됨 일 년 전259회 조회
2개 답변
0

Thank you for reporting this issue to us. We are very sorry you encountered this issue. I have created a service ticket with our engineering team on your behalf. I will update you here as soon as i hear back.

AWS
전문가
답변함 일 년 전
0

In addition to generating the variables listed previously, the AWS CDK deploy action also exposes CloudFormation output variables as workflow output variables for use in subsequent workflow actions. By default, the action only exposes the first four (or fewer) CloudFormation output variables that it finds. To determine which ones are exposed, run the AWS CDK deploy action once, and then look in the Variables tab of the run details page. If the variables listed on the Variables tab are not what you want, you can configure different ones using the CfnOutputVariables YAML property. For more information, see the CfnOutputVariables property description in the ["AWS CDK deploy" action reference.](from our documentation - https://docs.aws.amazon.com/codecatalyst/latest/userguide/workflow-ref-action-variables.html )

AWS
전문가
답변함 10달 전

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

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

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

관련 콘텐츠