AWS Cloudformation EIP Address not available

0

We have VPC Cloudformation stack which is creates VPC resources(Private / Public Subnets, NAT Gateway, EIP, etc) required for our usecase. Currently, EIP which was assigned to 1.5 years back is not currently available. Currently I am facing issue while updating stack.

ERROR: "Address '34.239.32.198' not found. (Service: Ec2, Status Code: 400, Request ID: c248e5d1-aba1-4c36-9fa6-62dc26c1e241)" (RequestToken: ceefa72c-0b0f-5878-6bb2-b0fb6521a1b6, HandlerErrorCode: NotFound)

I am unable to delete EIP resource. Also, unable to allocate new EIP and assign it to NAT Gateway.

asked 10 months ago163 views
1 Answer
0

From your question, it appears that you have had some drift. Meaning that the resources that were deployed by your Cloudformation stack no longer match what is present. You can use the Cloudformation drift function to capture what is different from what is actually in place and what Cloudformation thinks it deployed. Once you have done this, you can then run an update that can update Cloudformation to reflect what is in place or replace what is missing. Here's more information on this feature - https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html

Hope this helps.

profile picture
answered 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions