Skip to content

Commit 0575dc0

Browse files
committed
feat: differ the tfplan naming
Signed-off-by: Ilia Petrov <ilia.yavorov.petrov@gmail.com>
1 parent 0d7152e commit 0575dc0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/infra-apply.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,23 +52,23 @@ jobs:
5252
working-directory: ./prod
5353

5454
- name: Terraform Plan prod
55-
run: terraform plan -out=tfplan
55+
run: terraform plan -out=tfplan-prod
5656
working-directory: ./prod
5757

5858
- name: Terraform Apply prod
59-
run: terraform apply -auto-approve tfplan
59+
run: terraform apply -auto-approve tfplan-prod
6060
working-directory: ./prod
6161

6262
- name: Terraform Init prod-k8s
6363
run: terraform init
6464
working-directory: ./prod-k8s
6565

6666
- name: Terraform Plan prod-k8s
67-
run: terraform plan -out=tfplan
67+
run: terraform plan -out=tfplan-prod-k8s
6868
working-directory: ./prod-k8s
6969

7070
- name: Terraform Apply prod-k8s
71-
run: terraform apply -auto-approve tfplan
71+
run: terraform apply -auto-approve tfplan-prod-k8s
7272
working-directory: ./prod-k8s
7373

7474
- name: Tailscale logout (force cleanup)

0 commit comments

Comments
 (0)