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.

已提問 1 年前檢視次數 181 次
1 個回答
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
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南