Hey Atlassian Team,
Need some help here. I am trying to terraform Deploy to Production Env. My definition in the pipeline.yaml file looks like this below
terraform-plan-prd: &terraform-plan-prd
step:
name: Terraform_Plan_Prd
deployment: Prd
image: hashicorp/terraform:1.1.5
script:
- cd mwaa/infrastructure
- ./plan.sh prd
terraform-apply-prd: &terraform-apply-prd
step:
name: Terraform_Apply_prd
image: hashicorp/terraform:1.1.5
deployment: Prd
trigger: manual
script:
- cd mwaa/infrastructure
- ./apply.sh prd
branches:
mwaa-prd-*:
- <<: *terraform-plan-prd
- <<: *terraform-apply-prd
Now both the steps are using deployment env Prd. I think I read in some Community Chats that Atlassian have deployed multi step deployments somewhere. Please help how to fix this ?
Thanks - Arun Kumar D