Created
October 16, 2021 19:36
-
-
Save omarismail/fe61309fcabe6c3c9478cf06c48c8901 to your computer and use it in GitHub Desktop.
remote backend, prefix
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 { | |
prefix = "app-" | |
} | |
} | |
} | |
output "env" { | |
value = "${terraform.workspace}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment