Created
October 16, 2021 19:36
-
-
Save omarismail/30c1d34bef01c2a707d20a608c0c117c to your computer and use it in GitHub Desktop.
remote backend, name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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