Sha256: 9638b57b320d29e950a74b6bb8ff405945c032940debd48eb3de5cbaf3797e04
Contents?: true
Size: 517 Bytes
Versions: 19
Compression:
Stored size: 517 Bytes
Contents
# Setup Terraform GCS backend to be able to store .tfstate remotely terraform { backend "gcs" { bucket = "<%= @cloud['gcp']['bucket_name'] %>" prefix = "<%= @env_name %>-terraform.tfstate" project = "<%= @cloud['gcp']['project'] %>" } } # Store .tfstate in a GCS bucket data "terraform_remote_state" "tfstate" { backend = "gcs" config { bucket = "<%= @cloud['gcp']['bucket_name'] %>" path = "<%= @env_name %>-terraform.tfstate" project = "<%= @cloud['gcp']['project'] %>" } }
Version data entries
19 entries across 19 versions & 1 rubygems