Created
September 23, 2021 06:23
-
-
Save guivin/f6156be81d8012b1108ff5ab103cafe6 to your computer and use it in GitHub Desktop.
Terraform backend with workspace
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 = "terraform-remote-states" | |
workspace_key_prefix = "environments" | |
key = "network" | |
region = "us-east-1" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment