Multi ENV deploy working on dev and prod

This commit is contained in:
2024-05-25 15:03:17 +02:00
parent 5eda24ef8f
commit 499a4f8480
12 changed files with 4707 additions and 33 deletions

8
deploy-prod.sh Executable file
View 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