Skip to content

Commit a4358d7

Browse files
committed
destroyable acm certificate, github actions tf validation
1 parent 66f921a commit a4358d7

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/test.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: "Terraform Validation"
2+
on:
3+
- push
4+
jobs:
5+
example:
6+
name: "Terraform Actions"
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: "Checkout"
10+
uses: actions/checkout@master
11+
- name: "Terraform Format"
12+
uses: hashicorp/terraform-github-actions@master
13+
with:
14+
tf_actions_version: 0.11.0
15+
tf_actions_subcommand: "fmt"
16+
tf_actions_working_dir: "."
17+
tf_actions_comment: true
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
- name: "Terraform Init"
21+
uses: hashicorp/terraform-github-actions@master
22+
with:
23+
tf_actions_version: 0.11.0
24+
tf_actions_subcommand: "init"
25+
tf_actions_working_dir: "."
26+
tf_actions_comment: true
27+
env:
28+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29+
- name: "Terraform Validate"
30+
uses: hashicorp/terraform-github-actions@master
31+
with:
32+
tf_actions_version: 0.11.0
33+
tf_actions_subcommand: "validate"
34+
tf_actions_working_dir: "."
35+
tf_actions_comment: true
36+
env:
37+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)