Cannot release/deallocate CIDRs

0

Hello and merry Christmas everyone. I'm actually stuck with a problem - I have an IPAM pool I want to remove but I cannot release allocated CIDRs because the vpc-%resource_name% doesn't exists anymore.

How can I solve that problem? When I'm trying to 'Ignore and release CIDR' it's show me 'Error ignoring %cidr_here%. InvalidResourceCidr.NotFound: The specified resource ID and CIDR does not exist.' Deallocating just constantly show 'Error deallocating.'

Thanks.

질문됨 2년 전689회 조회
1개 답변
1
수락된 답변

You might be missing the service linked role: https://docs.aws.amazon.com/vpc/latest/ipam/choose-single-user-or-orgs-ipam.html

You can enable it by using the following AWS CLI command: aws iam create-service-linked-role --aws-service-name ipam.amazonaws.com

Kudos to Drew for the answer. ;-)

profile pictureAWS
전문가
답변함 2년 전
  • Thank you, Brettski, for the help. It works and finally pool deleted successfully.

  • I have a situation when after account removal from organization: IPAM pool ID still show (Allocations tab) given VPC (Resource ID) with attached deleted account (owner ID) - service linked role exist at delegated IPAM account.

  • I have the same issue as sebp. Can anyone advise?

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠