1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

GCP: Error creating WorkloadIdentityPool: googleapi: Error 409: Requested entity already exists

Last updated at Posted at 2024-08-20

Error

一度削除した workloadidentitypoolを再度作成しようとすると以下のエラーが出る:

Error creating WorkloadIdentityPool: googleapi: Error 409: Requested entity already exists

原因

削除したworkload identity pool / providerは 30日後に完全に削除される。それまではundeleteが可能。

Screenshot 2024-08-20 at 21.25.35.png

再度使いたい場合は、削除してから30日以内であれば、undeleteをする!

解決方法

Undelete workload-identity-pools

gcloud iam workload-identity-pools undelete <pool> --location="global" --project <project>

Undelete workload-identity-pools providers

gcloud iam workload-identity-pools providers undelete <provider> --workload-identity-pool="my-workload-identity-pool" --location="global" --project <project>

Ref

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?