Skip to content

Instantly share code, notes, and snippets.

@omarismail
Created October 16, 2021 19:36
Show Gist options
  • Save omarismail/30c1d34bef01c2a707d20a608c0c117c to your computer and use it in GitHub Desktop.
Save omarismail/30c1d34bef01c2a707d20a608c0c117c to your computer and use it in GitHub Desktop.
remote backend, name
terraform {
backend "remote" {
hostname = "app.staging.terraform.io"
organization = "omar-test"
workspaces {
name = "app"
}
}
}
output "env" {
value = "${terraform.workspace}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment