This example showcases how to configure Workload Identity Federation using the tfc-oidc module for a sample Service Account.
Name | Description | Type | Default | Required |
---|---|---|---|---|
project_id | The project id to create Workload Identity Federation pool and example Service Account | string |
n/a | yes |
role_list | Google Cloud roles required for the Service Account | list(string) |
[ |
no |
tfc_org_name | Terraform Cloud org name where the Workload Identity Federation pool will be attached | string |
n/a | yes |
tfc_project_name | Terraform Cloud project name where the Workload Identity Federation pool will be attached | string |
"GCP OIDC" |
no |
tfc_workspace_name | Terraform Cloud workspace name where the Workload Identity Federation pool will be attached | string |
"gcp-oidc" |
no |
Name | Description |
---|---|
pool_name | Pool name |
project_id | The project id to create Workload Identity Federation pool and example Service Account |
provider_name | Provider name |
sa_email | Example SA email |