We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2f389cd + 8dae09b commit d9893e9Copy full SHA for d9893e9
.github/workflows/terraform-runner.yml
@@ -0,0 +1,31 @@
1
+name: Run Terraform
2
+
3
+on:
4
+ workflow_dispatch: {}
5
6
+jobs:
7
+ terraform:
8
+ runs-on: ubuntu-latest
9
10
+ steps:
11
+ - name: Checkout repository
12
+ uses: actions/checkout@v4.1.1
13
14
+ - name: Setup Terraform
15
+ uses: hashicorp/setup-terraform@v3.0.0
16
17
+ - name: Navigate to target folder
18
+ run: |
19
+ ls -la
20
+ echo "Navigating to `terraform-aws-windows-instance`"
21
+ cd projects/terraform-aws-windows-instance
22
23
24
+ - name: Terraform Init
25
+ run: terraform init
26
27
+ - name: Terraform Plan
28
+ run: terraform plan
29
30
+ - name: Terraform Apply
31
+ run: terraform apply --auto-approve
0 commit comments