-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Upgrading to v1.19.0 causes errors with EIP tag update #5469
Comments
Workaround: cdk.Tag.remove(this.vpc, "Name", {
includeResourceTypes: ["AWS::EC2::EIP"]
}); |
I am having the same issue. After this upgrade, my VPC subnets are adding a new tag to each subnet. I am having the: The rollback then proceeds to fail as each subnet fails to update. |
"UPDATE_ROLLBACK_FAILED state and can not be updated" I had to initiate "Continue update rollback" from the console. I had to skip changing those resources. So now they are out of sync. I still get the same So I will return to 1.18.0 for now. |
I am also seeing this bug after upgrading to |
I did get it to deploy still using 1.19.0 actually. You also have to remove any other tags that might be assigned by parent constructs. In my case I had
|
Related Issue: |
I am also seeing this bug after upgrading to 1.19.0. Update 1: Confirming the recommendation by @idm-ryou to manually remove the tag is a good temp workaround. Update 2: In complex environments, this is causing cascading errors for all tagged resources. I've reached a point where a multi-VPC application cannot be deployed even when forcibly removing all tags attached with the following code:
Update 3: In complex or multi-stack environments, I found the easiest way to find all issues with EIP tags is to run the command |
@rix0rrr I also encountered this bug. I ended up just wiping my stack and recreating with 1.19.0 |
@rix0rrr thanks |
From the associated issues, it looks like this was resolved by CloudFormation on Mar 6 2020 (15 months ago!). I also just attempted to recreate it by creating a new CDK project on 1.18.0, adding a VPC (with EIP), then upgrading the project to 1.19.0 and deploying again. The diff showed the Tags being added, and the deployment succeeded as expected. Based on the above, I believe this can be closed. I'm going to mark as "Closing Soon" and give folks a few days to comment if they're still impacted. If you're still being bit by this, please comment (ideally with a reproducible example) so we can continue troubleshooting. |
Closing because the bot isn't working, please ping me if anyone is still impacted by this issue -Peter |
|
After upgraded to CDK v1.19.0, updating existing EIP for adding auto-generated Tag causes an error at CloudFormation
Reproduction Steps
Error Log
Environment
Other
Related: aws-cloudformation/cloudformation-coverage-roadmap#84 (comment)
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: