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
已提問 1 年前檢視次數 260 次
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
專家
已回答 1 年前
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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南