All Modules
GCPSecurity
Workload Identity Federation
OIDC federation for CI/CD pipelines with GitHub Actions or other providers
Usage
module "workload_identity_federation" {
source = "github.com/fencepencil/gcp-modules//workload-identity-federation"
project_id = "<project_id>"
pool_id = "<pool_id>"
display_name = "<display_name>"
provider_id = "<provider_id>"
issuer_uri = "<issuer_uri>"
tags = var.tags
}Inputs (7)
| Name | Type | Description | Default | Required |
|---|---|---|---|---|
project_id | string | GCP project ID | — | yes |
pool_id | string | Workload Identity Pool ID | — | yes |
display_name | string | Pool display name | — | yes |
provider_id | string | Pool Provider ID | — | yes |
issuer_uri | string | OIDC issuer URI | — | yes |
create_service_account | bool | Create a service account | true | no |
service_account_roles | list(string) | IAM roles for the SA | [] | no |
Outputs (3)
| Name | Description |
|---|---|
pool_name | Full name of the identity pool |
provider_name | Full name of the provider |
service_account_email | Service account email |