Skip to content

Commit 3c3d14d

Browse files
author
iru
authored
chore(doc): restore federation troubleshooting
1 parent 80b7bf0 commit 3c3d14d

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

README.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,19 @@ Notice that:
9898
## Troubleshooting
9999

100100
- Q1: Getting "Error creating WorkloadIdentityPool: googleapi: Error 409: Requested entity already exists"<br/>
101-
A: This is default behaviour we cannot control
102-
https://cloud.google.com/iam/docs/manage-workload-identity-pools-providers#delete-pool
103-
> You can undelete a pool for up to 30 days after deletion. After 30 days, deletion is permanent. Until a pool is permanently deleted, you cannot reuse its name when creating a new workload identity pool.<br/>
104-
105-
S: Use the `naming_prefix` input variable to create a differet workload identity federation.
101+
A1: This is default behaviour we cannot control
102+
https://cloud.google.com/iam/docs/manage-workload-identity-pools-providers#delete-pool
103+
> You can undelete a pool for up to 30 days after deletion. After 30 days, deletion is permanent. Until a pool is permanently deleted, you cannot reuse its name when creating a new workload identity pool.<br/>
104+
105+
S1: Use the `naming_prefix` input variable to create a differet workload identity federation.
106+
```bash
107+
# re-activate
108+
$ gcloud iam workload-identity-pools undelete sysdigcloud --location=global
109+
110+
# import to terraform state
111+
$ terraform import module.secure-for-cloud_example_single-project.module.cloud_bench.google_iam_workload_identity_pool.pool sysdigcloud
112+
$ terraform import module.secure-for-cloud_example_single-project.module.cloud_bench.google_iam_workload_identity_pool_provider.pool_provider sysdigcloud/sysdigcloud
113+
```
106114

107115

108116

0 commit comments

Comments
 (0)