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.

posta 2 anni fa689 visualizzazioni
1 Risposta
1
Risposta accettata

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
ESPERTO
con risposta 2 anni fa
  • 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?

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande