Multi ENV deploy working on dev and prod
This commit is contained in:
8
deploy-prod.sh
Executable file
8
deploy-prod.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
# Select Development workspace
|
||||
terraform workspace select prod
|
||||
|
||||
# Plan the current execution with variables and verify
|
||||
terraform plan -var-file prod.tfvars -out plans/prod.plan
|
||||
|
||||
# Apply Configuration
|
||||
terraform apply plans/prod.plan
|
||||
Reference in New Issue
Block a user