Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

unable to delete firewall policy

I have a firewall policy located in a folder that I want to delete (actually I am closing my account).

When I try to delete the policy I get the following error:

You can not delete a policy that is used by a folder or organization. Detach first and delete policy afterwards.

In the association list there is only one item which seems to be removed (at least I cannot find it). The select box is grayed out so I cannot select it to remove association. 

image.png

I also tried to use gcloud cli without success.

 

 

 

$ gcloud compute firewall-policies associations list --folder=897520186471

ERROR: (gcloud.compute.firewall-policies.associations.list) HTTPError 403: Required 'compute.organizations.listAssociations' permission for 'folders/897520186471'. This command is authenticated as (PII Removed by Staff) which is the active account specified by the [core/account] property

$ gcloud resource-manager folders get-iam-policy 897520186471
ERROR: (gcloud.resource-manager.folders.get-iam-policy) [user@] does not have permission to access folders instance [897520186471:getIamPolicy] (or it may not exist): The caller does not have permission. This command is authenticated as user@ which is the active account specified by the [core/account] property

 

 

 

Any advice about how to move forward ? 

0 0 50