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.

preguntada hace un año181 visualizaciones
1 Respuesta
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
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas