Skip to content

nephosolutions/terraform-google-tfe-workspace-sa

Repository files navigation

Google service accounts for Terraform Cloud workspaces

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.

Requirements

Name Version
terraform >= 0.13
google >= 3.52
time >= 0

Providers

Name Version
google 4.30.0
time 0.7.2

Modules

No modules.

Resources

Name Type
google_service_account.tfe_workspace resource
google_service_account_key.tfe_workspace_sa resource
time_rotating.tfe_workspace_sa_key resource

Inputs

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

Outputs

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.

About

Google service accounts for Terraform Cloud workspaces

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages