mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-opentofu-private.git
synced 2025-10-27 07:43:07 +00:00
changing working dir for plan and apply
This commit is contained in:
@ -42,8 +42,8 @@ jobs:
|
||||
run: tofu init
|
||||
|
||||
- name: Plan
|
||||
working-directory: infra
|
||||
run: tofu plan -chdir=iac $VAR_FILES -out=tfplan
|
||||
working-directory: infra/iac
|
||||
run: tofu plan $VAR_FILES -out=tfplan
|
||||
|
||||
- name: Export tfplan
|
||||
working-directory: infra
|
||||
@ -54,5 +54,5 @@ jobs:
|
||||
|
||||
|
||||
- name: Apply
|
||||
working-directory: infra
|
||||
run: tofu apply -chdir=iac $VAR_FILES -auto-approve tfplan
|
||||
working-directory: infra/iac
|
||||
run: tofu apply $VAR_FILES -auto-approve tfplan
|
||||
Reference in New Issue
Block a user