This commit is contained in:
parent
1f24092432
commit
8f07732121
@ -26,20 +26,24 @@ jobs:
|
|||||||
echo 'proxmox_password = "${{ secrets.PROXMOX_PASSWORD }}"' >> terraform.tfvars
|
echo 'proxmox_password = "${{ secrets.PROXMOX_PASSWORD }}"' >> terraform.tfvars
|
||||||
|
|
||||||
- name: Terraform Init
|
- name: Terraform Init
|
||||||
|
working-directory: terraform
|
||||||
run: terraform init
|
run: terraform init
|
||||||
|
|
||||||
- name: Terraform Format Check
|
- name: Terraform Format Check
|
||||||
|
working-directory: terraform
|
||||||
run: terraform fmt -check -recursive
|
run: terraform fmt -check -recursive
|
||||||
|
|
||||||
- name: Terraform Validate
|
- name: Terraform Validate
|
||||||
|
working-directory: terraform
|
||||||
run: terraform validate
|
run: terraform validate
|
||||||
|
|
||||||
- name: Terraform Plan
|
- name: Terraform Plan
|
||||||
|
working-directory: terraform
|
||||||
run: terraform plan -out=tfplan
|
run: terraform plan -out=tfplan
|
||||||
|
|
||||||
- name: Upload Terraform Plan
|
- name: Upload Terraform Plan
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: terraform-plan
|
name: terraform-plan
|
||||||
path: tfplan
|
path: terraform/tfplan
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user