Created
October 16, 2021 19:37
-
-
Save omarismail/d7ea5254252acb07c295f0dfe42aea5f to your computer and use it in GitHub Desktop.
s3 backend
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 "s3" { | |
bucket = "tf-backend-omar" | |
region = "us-east-1" | |
acl = "public-read" | |
} | |
} | |
output "env" { | |
value = "${terraform.workspace}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment