@researchdatabox/redbox-hook-terraform-gcp
v1.1.4
Published
A Google Cloud-specific plugin for ReDBox's Terraform provisioner
Downloads
13
Maintainers
Readme
Terraform RedBox Hook Provisioner Module: Google Cloud
This is a dependent module for ReDBox's Terraform provisioner hook.
Responsibilities
- Provide manifests to provision resources into Google Cloud
Requirements
- Service account with access as "Owner". Set path to the creds JSON in
GOOGLE_APPLICATION_CREDENTIALS
env var. See this for more info. - Bucket for Terraform state with versioning enabled. If you opt to store state somewhere else, modify the manifests. Make sure the account used above has owner/write access to the bucket. See more info below.
- If you require Terraform state encryption, set the
GOOGLE_ENCRYPTION_KEY
variable. See this for more info. - Set the env var
TF_VAR_gcp_project_id
to the target GCP project ID. - Set the env var
TG_BUCKET_NAME
to the target GCS bucket for storing the state. The module assumes the bucket already exists and the account used has write access to this bucket.