https://github.com/redbox-mint/redbox-hook-terraform-gcp
Terraform Provisioner Plugin for Google Cloud Platform
https://github.com/redbox-mint/redbox-hook-terraform-gcp
Last synced: 1 day ago
JSON representation
Terraform Provisioner Plugin for Google Cloud Platform
- Host: GitHub
- URL: https://github.com/redbox-mint/redbox-hook-terraform-gcp
- Owner: redbox-mint
- Created: 2019-10-08T05:40:08.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-02-08T02:43:49.000Z (over 3 years ago)
- Last Synced: 2025-10-08T19:44:02.298Z (10 months ago)
- Language: JavaScript
- Size: 376 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Terraform RedBox Hook Provisioner Module: Google Cloud
This is a dependent module for [ReDBox's](https://www.redboxresearchdata.com.au) [Terraform provisioner hook](https://github.com/redbox-mint/redbox-hook-terraform).
## 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](https://registry.terraform.io/providers/hashicorp/google/latest/docs/guides/getting_started#adding-credentials).
- Bucket for Terraform state with [versioning enabled](https://cloud.google.com/storage/docs/gsutil/commands/versioning). 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](https://cloud.google.com/storage/docs/encryption/customer-supplied-keys).
- 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.