Skip to content

Instantly share code, notes, and snippets.

@mynameisameed
Created May 1, 2022 11:53
Show Gist options
  • Save mynameisameed/2c858a772484fdab1128479f4b5596b9 to your computer and use it in GitHub Desktop.
Save mynameisameed/2c858a772484fdab1128479f4b5596b9 to your computer and use it in GitHub Desktop.
this file helps terraform state file to be stored in remote backend, which can be used by other teams in the organization & dont have to manually update
terraform {
backend "gcs" {
bucket = "<bucket-name>"
prefix = "terraform/state"
credentials = "./terraform-gke-keyfile.json"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment