-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
CfnEIPAssociation : Creates the association but returns an error #26423
Comments
I figured it out myself. It is not clear in the docs, could I update it? Anyways, if you encounter the same error, the solution is this: Don't create EIP and EIPAssociations as you used to. ex.
Don't specify the instanceId in the creation of the EIPAssociation, do it in the following manner:
just create a new CfnEIP and specify the instanceId separately. Have a good one everybody |
|
Describe the bug
I am trying to associate an EIP. This is the code:
Expected Behavior
It should create the EIP, as I've already done before
Current Behavior
It throws this error:
It is almost as if it is creating the EIP twice.
Reproduction Steps
Run the code snipped associated to any ec2 instance
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.87
Framework Version
No response
Node.js Version
v18.04
OS
Linux - Ubuntu
Language
Typescript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: