Skip to content

goldfinger3/terraform-multi-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-multi-env

Deploying Multiple Environments with Terraform

https://medium.com/capital-one-tech/deploying-multiple-environments-with-terraform-kubernetes-7b7f389e622

Testing the idea from Chris Pisano. See the link above.

Create the Terraform Workspaces

terraform init
terraform workspace new dev 
terraform workspace new qa
terraform workspace new staging
terraform workspace new prod
terraform workspace new personal

# switch to workspace
terraform workspace select dev 
# test it
terraform apply

# switch to unkown workspace
terraform workspace select personal
terraform apply

# switch to workspace
terraform workspace select prod
terraform apply

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages