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.

gefragt vor 2 Jahren689 Aufrufe
1 Antwort
1
Akzeptierte Antwort

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
EXPERTE
beantwortet vor 2 Jahren
  • 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?

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen