Skip to content

Commit 17527d5

Browse files
authored
Merge pull request #122 from vimeda/tf-import
add tf apply
2 parents bd5d4a9 + e785d46 commit 17527d5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/release-terraform-import.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,11 @@ jobs:
6767
- name: Terraform Import Resource
6868
id: import
6969
run: terraform import '${{ inputs.resource_address }}' '${{ inputs.resource_id }}'
70+
71+
- name: Terraform Prod Apply
72+
id: apply-prod
73+
run: terraform apply -auto-approve -input=false -var-file=prod.tfvars.json
74+
timeout-minutes: 15
75+
env:
76+
TF_WORKSPACE: prod
77+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)