Sha256: aad0aa93170ae50c6d965889cdbaeead0e34d2a9f08503747a2a3732f6351ea6

Contents?: true

Size: 489 Bytes

Versions: 4

Compression:

Stored size: 489 Bytes

Contents

# Setup Terraform GCS backend to be able to store .tfstate remotely
terraform {
  backend "gcs" {
    bucket  = "<%= @values['kite']['bucket_name'] %>"
    path    = "terraform.tfstate"
    project = "<%= @values['gcp']['project'] %>"
  }
}

# Store .tfstate in a GCS bucket
data "terraform_remote_state" "tfstate" {
  backend = "gcs"
  config {
    bucket  = "<%= @values['kite']['bucket_name'] %>"
    path    = "terraform.tfstate"
    project = "<%= @values['gcp']['project'] %>"
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
kite-0.2.0 tpl/gcp/terraform/gcs.tf.tt
kite-0.1.0 tpl/gcp/terraform/gcs.tf.tt
kite-0.0.9 tpl/gcp/terraform/gcs.tf.tt
kite-0.0.8 tpl/gcp/terraform/gcs.tf.tt