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
demandé il y a un an260 vues
2 réponses
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
EXPERT
répondu il y a un an
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
EXPERT
répondu il y a 10 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions