0
2
llucycodes42
This code sets up a Terraform remote state backend with a GCS bucket and path. The backend is configured to use the goopro project as the project name.
Shortcut: tf_gcs_backend
data "terraform_remote_state" "${myBackend}" {
backend = "gcs"
config {
bucket = "terraform-state-prod"
path = "network/terraform.tfstate"
project = "goopro"
}
}