Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[module] #10664

Closed
informity opened this issue Oct 3, 2020 · 2 comments
Closed

[module] #10664

informity opened this issue Oct 3, 2020 · 2 comments
Labels
guidance Question that needs advice or information. needs-triage This issue or PR still needs to be triaged.

Comments

@informity
Copy link

informity commented Oct 3, 2020

❓ Multiple "The stack MyStack already includes a CDKMetadata resource" warnings.

The Question

I am getting multiple "The stack MyStack already includes a CDKMetadata resource" warnings each time I synth or deploy my stacks. I am using the latest CDK 1.66.0 with:

  • @aws-cdk/aws-ec2;
  • @aws-cdk/aws-rds;
  • @aws-cdk/aws-elasticloadbalancingv2;
  • @aws-cdk/aws-elasticloadbalancingv2-targets;
  • @aws-cdk/aws-ssm;

Output

cdk diff MyStack-West-VPC
The stack MyStack-East-EC2 already includes a CDKMetadata resource
The stack MyStack-East-LBH already includes a CDKMetadata resource
The stack MyStack-East-PAR-RHEL8 already includes a CDKMetadata resource
The stack MyStack-East-RDS already includes a CDKMetadata resource
The stack MyStack-East-VPC already includes a CDKMetadata resource
The stack MyStack-West-ADM already includes a CDKMetadata resource
The stack MyStack-West-EC2 already includes a CDKMetadata resource
The stack MyStack-West-LBH already includes a CDKMetadata resource
The stack MyStack-West-PAR-RHEL8 already includes a CDKMetadata resource
The stack MyStack-West-RDS already includes a CDKMetadata resource
The stack MyStack-West-VPC already includes a CDKMetadata resource
Stack MyStack-West-VPC

Environment

  • CDK CLI Version: 1.66.0 (build 459488d)
  • Module Version: 1.65.0
  • Node.js Version: v12.18.4
  • OS: MacOS Catalina 10.15.6
  • Language (Version): TypeScript (Version 4.0.3)
@informity informity added guidance Question that needs advice or information. needs-triage This issue or PR still needs to be triaged. labels Oct 3, 2020
@shivlaks
Copy link
Contributor

shivlaks commented Oct 3, 2020

@informity - I believe this was a warning recently added in 1.65.0 - closing this issue as it's a duplicate of #10625
Please feel free to +1 and add any context.

@shivlaks shivlaks closed this as completed Oct 3, 2020
@github-actions
Copy link

github-actions bot commented Oct 3, 2020

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
guidance Question that needs advice or information. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

2 participants