mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-opentofu-private.git
synced 2025-10-27 15:53:06 +00:00
working dir for opentofu
This commit is contained in:
@ -33,9 +33,11 @@ jobs:
|
|||||||
run: tofu init
|
run: tofu init
|
||||||
|
|
||||||
- name: Plan
|
- name: Plan
|
||||||
|
working-directory: infra
|
||||||
run: tofu plan -out=tfplan
|
run: tofu plan -out=tfplan
|
||||||
|
|
||||||
- name: Export tfplan
|
- name: Export tfplan
|
||||||
|
working-directory: infra
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: tofu-plan
|
name: tofu-plan
|
||||||
@ -43,4 +45,5 @@ jobs:
|
|||||||
|
|
||||||
|
|
||||||
- name: Apply
|
- name: Apply
|
||||||
|
working-directory: infra
|
||||||
run: tofu apply -auto-approve tfplan
|
run: tofu apply -auto-approve tfplan
|
||||||
Reference in New Issue
Block a user