Remove WAF WebAcl created by Firewall Manager

0

I am trying to delete a AWS WAF WebAcl that was created using Firewall Manager few months ago, but someone has removed the Firewall Manager policy, probably without ticking the "delete all policy resources" checkbox, so after this the webAcl remains existing, but I can't delete it. When I try to remove the webAcl I got the following error message:

Error You don't have permissions to delete the resource because it's managed by Firewall Manager.

Since the firewall manager policy doesn't exist anymore, I couldn't find a way to delete the loose webacl, no matter if I try via console or CLI, I always get this error message. I did a research in AWS docs but didn't find any related topic, so I am wondering if there is a way to delete it.

2 réponses
2

Hello AWS Customer,

If an account or resource goes out of scope for any reason, AWS Firewall Manager doesn't automatically remove protections or delete Firewall Manager-managed resources unless you select the Automatically remove protections from resources that leave the policy scope check box.[1]

Therefore, in order to delete this WebACL from your account, it has to be done from the "Admin Account".

Hope you will find this information useful.

Have a good day!

profile pictureAWS
INGÉNIEUR EN ASSISTANCE TECHNIQUE
Jisoo_K
répondu il y a un an
0

Hello Jisoo, Thanks for replying. The AWS Organization where this policy lives only contain 1 member account and I tried to delete the loose webacl using the root of the management account, but got the same error. There are anything that I'm missing?

awsbrz
répondu il y a un an
  • By root of the management account, do you mean the Management account of the AWS Organisation or the Firewall Administrator account?

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions