Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0aff7e1267 | ||
|
|
0d3c12d8b4 |
@@ -25,13 +25,7 @@ runs:
|
||||
working-directory: ${{ inputs.working-directory }}
|
||||
run: terraform init
|
||||
|
||||
- name: Download plan artifact
|
||||
uses: https://gitea.ldpt.fr/actions/gitea-download-artifact@main
|
||||
with:
|
||||
name: terraform-plan
|
||||
path: ${{ inputs.working-directory }}
|
||||
|
||||
- name: Terraform Apply
|
||||
shell: bash
|
||||
working-directory: ${{ inputs.working-directory }}
|
||||
run: terraform apply -auto-approve tfplan
|
||||
run: terraform apply -auto-approve
|
||||
|
||||
@@ -33,11 +33,4 @@ runs:
|
||||
- name: Terraform Plan
|
||||
shell: bash
|
||||
working-directory: ${{ inputs.working-directory }}
|
||||
run: terraform plan -out=tfplan
|
||||
|
||||
- name: Upload plan artifact
|
||||
uses: https://gitea.ldpt.fr/actions/gitea-upload-artifact@main
|
||||
with:
|
||||
name: terraform-plan
|
||||
path: ${{ inputs.working-directory }}/tfplan
|
||||
retention-days: 5
|
||||
run: terraform plan
|
||||
Reference in New Issue
Block a user