What is the problem?
The pipeline is adding AWS::CDK::Metadata resource to the support stacks regardless of the versionReporting value and even if the synth command is cdk --no-version-reporting synth.
Reproduction Steps
- Have
"versionReporting": false in cdk.json
- Alternatively, specify the synth command as
cdk --no-version-reporting synth in the Synth step
- Deploy the pipeline. Verify that the support stacks do not have the
AWS::CDK::Metadata resource.
- Wait for the pipeline to self-mutate the first time
What did you expect to happen?
No changes to the support stacks.
What actually happened?
The self-mutate action adds the AWS::CDK::Metadata to the support stacks.
If I do a cdk deploy from my local machine again, the resource will be deleted.
CDK CLI Version
2.12.0
Framework Version
2.12.0
Node.js Version
17.3.0
OS
ArcLinux
Language
Python
Language Version
3.9.10
Other information
No response