terrastate
terrastate copied to clipboard
Feature request: Support remote state files
Hi, Love the ethos of this extension however I'm currently unable to use it because we use remote state which is defined like so:
terraform {
backend "gcs" {}
}
and we configure it like so:
terraform init -reconfigure -get=true -backend=true -backend-config="bucket=my-bucket" -backend-config="prefix=path/to/state/dir"
Is there any way that remote state files could be supported in this extension?
@jamiet-msm What happens if you define the bucket and prefix in the tf file?
# backend.tf
terraform {
backend "gcs" {
bucket = "my-bucket"
prefix = "path/to/state/dir"
}
}