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.

feita há um ano181 visualizações
1 Resposta
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 há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas