This Terraform module provisions a Google service account for Terraform Cloud workspaces.
A Terraform Workspace service account is used to authenticate the Terraform Cloud workspace to the Google APIs. The Google service account key for that account is rotated every 30 days.
Name | Version |
---|---|
terraform | >= 0.13 |
>= 3.52 | |
time | >= 0 |
Name | Version |
---|---|
4.30.0 | |
time | 0.7.2 |
No modules.
Name | Type |
---|---|
google_service_account.tfe_workspace | resource |
google_service_account_key.tfe_workspace_sa | resource |
time_rotating.tfe_workspace_sa_key | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
google_project_id | The Google Cloud Platform project ID | string |
n/a | yes |
tfe_workspace_id | The Terraform Cloud workspace ID. | string |
n/a | yes |
tfe_workspace_sa_key_rotation_days | Interval in days to rotate the workspace service account key. | number |
30 |
no |
Name | Description |
---|---|
tfe_workspace_sa | The Google Cloud service account for the TFE workspace. |
tfe_workspace_sa_key | The Google Cloud credentials for the TFE workspace service account in JSON format, base64 encoded. |