mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
add working directory again
This commit is contained in:
parent
9f91a3b547
commit
ddaddb82d9
1 changed files with 6 additions and 12 deletions
18
.github/workflows/deploy_terraform.yml
vendored
18
.github/workflows/deploy_terraform.yml
vendored
|
|
@ -23,25 +23,19 @@ jobs:
|
|||
uses: hashicorp/setup-terraform@v3
|
||||
|
||||
- name: Terraform Init
|
||||
working-directory: ./infrastructure/terraform
|
||||
working-directory: ./infrastructure/terraform/shared/
|
||||
shell: bash
|
||||
run: |
|
||||
cd shared
|
||||
terraform init -reconfigure
|
||||
run: terraform init -reconfigure
|
||||
|
||||
- name: Terraform Workspace
|
||||
working-directory: ./infrastructure/terraform
|
||||
working-directory: ./infrastructure/terraform/shared/
|
||||
shell: bash
|
||||
run: |
|
||||
cd shared
|
||||
terraform workspace select dev || terraform workspace new dev
|
||||
run: terraform workspace select dev || terraform workspace new dev
|
||||
|
||||
- name: Terraform Plan (shared)
|
||||
working-directory: ./infrastructure/terraform
|
||||
working-directory: ./infrastructure/terraform/shared/
|
||||
shell: bash
|
||||
run: |
|
||||
cd shared
|
||||
terraform plan -var-file=dev.tfvars -out=tfplan
|
||||
run: terraform plan -var-file=dev.tfvars -out=tfplan
|
||||
|
||||
# - name: Terraform Apply
|
||||
# working-directory: ./infrastructure/terraform/shared
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue