File tree Expand file tree Collapse file tree 10 files changed +3431
-10037
lines changed Expand file tree Collapse file tree 10 files changed +3431
-10037
lines changed Original file line number Diff line number Diff line change @@ -16,21 +16,22 @@ jobs:
16
16
- uses : actions/checkout@v2
17
17
name : Checkout source code
18
18
19
- - run : cd infrastructure
20
- name : change dir
21
-
22
19
- uses : actions/cache@v2
23
20
name : Cache plugin dir
24
21
with :
25
22
path : ~/.tflint.d/plugins
26
- key : ${{ matrix.os }}-tflint-${{ hashFiles('.tflint.hcl') }}
23
+ key : ${{ matrix.os }}-tflint-${{ hashFiles('.tflint.hcl') }}-v2
27
24
28
25
- uses : terraform-linters/setup-tflint@v1
29
26
name : Setup TFLint
30
27
with :
31
28
tflint_version : latest
32
29
github_token : ${{ secrets.GITHUB_TOKEN }}
33
30
31
+ - uses : hashicorp/setup-terraform@v1
32
+ - name : Terraform Init
33
+ id : init
34
+ run : terraform init
34
35
- name : Show version
35
36
run : tflint --version
36
37
39
40
40
41
- name : Run TFLint
41
42
run : tflint -f compact --config .tflint.hcl
42
- tflint-frontend :
43
- runs-on : ${{ matrix.os }}
44
-
45
- strategy :
46
- matrix :
47
- os : [ubuntu-latest]
48
-
49
- steps :
50
- - uses : actions/checkout@v2
51
- name : Checkout source code
52
-
53
- - run : cd infrastructure/frontend
54
- name : change dir
55
-
56
- - uses : actions/cache@v2
57
- name : Cache plugin dir
58
- with :
59
- path : ~/.tflint.d/plugins
60
- key : ${{ matrix.os }}-tflint-${{ hashFiles('.tflint.hcl') }}
61
-
62
- - uses : terraform-linters/setup-tflint@v1
63
- name : Setup TFLint
64
- with :
65
- tflint_version : latest
66
- github_token : ${{ secrets.GITHUB_TOKEN }}
67
-
68
- - name : Show version
69
- run : tflint --version
70
-
71
- - name : Init TFLint
72
- run : tflint --init
73
-
74
- - name : Run TFLint
75
- run : tflint -f compact
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 38
38
uses : tfsec/tfsec-sarif-action@9a83b5c3524f825c020e356335855741fd02745f
39
39
with :
40
40
sarif_file : tfsec.sarif
41
- working_directory : ./infrastructure/
42
41
43
42
- name : Upload SARIF file
44
43
uses : github/codeql-action/upload-sarif@v1
Original file line number Diff line number Diff line change @@ -29,11 +29,12 @@ override.tf.json
29
29
# !example_override.tf
30
30
31
31
# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan
32
- # example: *tfplan*
32
+ * tfplan *
33
33
34
34
# Ignore CLI configuration files
35
35
.terraformrc
36
36
terraform.rc
37
37
.terraform.lock.hcl
38
38
* .zip
39
39
builds /*
40
+ node_install /*
Original file line number Diff line number Diff line change 1
1
plugin "aws" {
2
2
enabled = true
3
- version = " 0.11.0 "
3
+ version = " 0.13.3 "
4
4
source = " github.com/terraform-linters/tflint-ruleset-aws"
5
5
}
6
6
Original file line number Diff line number Diff line change @@ -15,12 +15,14 @@ This is the terraform users module for my video streaming application
15
15
| <a name =" requirement_terraform " ></a > [ terraform] ( #requirement\_ terraform ) | ~ > 1.1.8 |
16
16
| <a name =" requirement_archive " ></a > [ archive] ( #requirement\_ archive ) | ~ > 2.2 |
17
17
| <a name =" requirement_aws " ></a > [ aws] ( #requirement\_ aws ) | ~ > 4.11 |
18
+ | <a name =" requirement_null " ></a > [ null] ( #requirement\_ null ) | ~ > 3.1.1 |
18
19
19
20
## Providers
20
21
21
22
| Name | Version |
22
23
| ------| ---------|
23
- | <a name =" provider_aws " ></a > [ aws] ( #provider\_ aws ) | 4.11.0 |
24
+ | <a name =" provider_aws " ></a > [ aws] ( #provider\_ aws ) | ~ > 4.11 |
25
+ | <a name =" provider_null " ></a > [ null] ( #provider\_ null ) | ~ > 3.1.1 |
24
26
25
27
## Modules
26
28
@@ -41,6 +43,7 @@ This is the terraform users module for my video streaming application
41
43
| [ aws_ssm_parameter.users_client_id] ( https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ssm_parameter ) | resource |
42
44
| [ aws_ssm_parameter.users_client_secret] ( https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ssm_parameter ) | resource |
43
45
| [ aws_ssm_parameter.users_pool_id] ( https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ssm_parameter ) | resource |
46
+ | [ null_resource.build] ( https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource ) | resource |
44
47
| [ aws_route53_zone.selected] ( https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/route53_zone ) | data source |
45
48
46
49
## Inputs
You can’t perform that action at this time.
0 commit comments