Skip to content

Instantly share code, notes, and snippets.

@omarismail
Created October 16, 2021 19:33
Show Gist options
  • Save omarismail/7752a9e421e4eb0d92f1026b7f6ecb0d to your computer and use it in GitHub Desktop.
Save omarismail/7752a9e421e4eb0d92f1026b7f6ecb0d to your computer and use it in GitHub Desktop.
cloud backend, name
terraform {
cloud {
hostname = "app.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