2022-10-25 04:04:27 -07:00
# GCP Workload Identity Provider for Terraform Enterprise
This terraform code is a part of [GCP Workload Identity Federation for Terraform Enterprise ](../ ) blueprint.
The codebase provisions the following list of resources:
- GCS Bucket
<!-- BEGIN TFDOC -->
## Variables
| name | description | type | required | default |
|---|---|:---:|:---:|:---:|
| [billing_account ](variables.tf#L16 ) | Billing account id used as default for new projects. | < code > string</ code > | ✓ | |
2022-10-28 08:26:52 -07:00
| [project_id ](variables.tf#L43 ) | Existing project id. | < code > string</ code > | ✓ | |
| [tfe_organization_id ](variables.tf#L48 ) | TFE organization id. | < code > string</ code > | ✓ | |
| [tfe_workspace_id ](variables.tf#L53 ) | TFE workspace id. | < code > string</ code > | ✓ | |
| [issuer_uri ](variables.tf#L21 ) | Terraform Enterprise uri. Replace the uri if a self hosted instance is used. | < code > string</ code > | | < code > " https:// app.terraform.io/" </ code > |
2022-10-25 04:04:27 -07:00
| [parent ](variables.tf#L27 ) | Parent folder or organization in 'folders/folder_id' or 'organizations/org_id' format. | < code > string</ code > | | < code > null</ code > |
2022-10-28 08:26:52 -07:00
| [project_create ](variables.tf#L37 ) | Create project instead of using an existing one. | < code > bool</ code > | | < code > true</ code > |
| [workload_identity_pool_id ](variables.tf#L58 ) | Workload identity pool id. | < code > string</ code > | | < code > " tfe-pool" </ code > |
| [workload_identity_pool_provider_id ](variables.tf#L64 ) | Workload identity pool provider id. | < code > string</ code > | | < code > " tfe-provider" </ code > |
2022-10-25 04:04:27 -07:00
## Outputs
| name | description | sensitive |
|---|---|:---:|
2022-10-28 08:26:52 -07:00
| [impersonate_service_account_email ](outputs.tf#L16 ) | Service account to be impersonated by workload identity. | |
| [project_id ](outputs.tf#L21 ) | GCP Project ID. | |
| [workload_identity_audience ](outputs.tf#L26 ) | TFC Workload Identity Audience. | |
| [workload_identity_pool_provider_id ](outputs.tf#L31 ) | GCP workload identity pool provider ID. | |
2022-10-25 04:04:27 -07:00
<!-- END TFDOC -->