-
Notifications
You must be signed in to change notification settings - Fork 97
130 lines (130 loc) · 4.1 KB
/
terraform-fmt.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
name: 'Terraform Format'
on:
- pull_request
jobs:
deploy-aws:
name: 'Deployments AWS'
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@master
- name: 'Terraform Format'
uses: hashicorp/terraform-github-actions@master
with:
tf_actions_version: 0.12.13
tf_actions_subcommand: 'fmt'
tf_actions_working_dir: 'terraform/deployments/AWS'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
module-ami:
name: 'Module AMI'
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@master
- name: 'Terraform Format'
uses: hashicorp/terraform-github-actions@master
with:
tf_actions_version: 0.12.13
tf_actions_subcommand: 'fmt'
tf_actions_working_dir: 'terraform/modules/AWS/Ami'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
module-bastion:
name: 'Module Bastion'
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@master
- name: 'Terraform Format'
uses: hashicorp/terraform-github-actions@master
with:
tf_actions_version: 0.12.13
tf_actions_subcommand: 'fmt'
tf_actions_working_dir: 'terraform/modules/AWS/Bastion'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
module-internalhost:
name: 'Module InternalHost'
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@master
- name: 'Terraform Format'
uses: hashicorp/terraform-github-actions@master
with:
tf_actions_version: 0.12.13
tf_actions_subcommand: 'fmt'
tf_actions_working_dir: 'terraform/modules/AWS/InternalHost'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
module-kubernetes:
name: 'Module Kubernetes'
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@master
- name: 'Terraform Format'
uses: hashicorp/terraform-github-actions@master
with:
tf_actions_version: 0.12.13
tf_actions_subcommand: 'fmt'
tf_actions_working_dir: 'terraform/modules/AWS/Kubernetes'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
module-networking:
name: 'Module Networking'
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@master
- name: 'Terraform Format'
uses: hashicorp/terraform-github-actions@master
with:
tf_actions_version: 0.12.13
tf_actions_subcommand: 'fmt'
tf_actions_working_dir: 'terraform/modules/AWS/Networking'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
module-s3storage:
name: 'Module S3Storage'
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@master
- name: 'Terraform Format'
uses: hashicorp/terraform-github-actions@master
with:
tf_actions_version: 0.12.13
tf_actions_subcommand: 'fmt'
tf_actions_working_dir: 'terraform/modules/AWS/S3Storage'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
module-securitygroups:
name: 'Module SecurityGroups'
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@master
- name: 'Terraform Format'
uses: hashicorp/terraform-github-actions@master
with:
tf_actions_version: 0.12.13
tf_actions_subcommand: 'fmt'
tf_actions_working_dir: 'terraform/modules/AWS/SecurityGroups'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
module-sshkey:
name: 'Module SshKey'
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@master
- name: 'Terraform Format'
uses: hashicorp/terraform-github-actions@master
with:
tf_actions_version: 0.12.13
tf_actions_subcommand: 'fmt'
tf_actions_working_dir: 'terraform/modules/AWS/SshKey'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}