Skip to content

Commit cf3a321

Browse files
set tflint
1 parent 65e9f4b commit cf3a321

File tree

6 files changed

+59
-15
lines changed

6 files changed

+59
-15
lines changed

.github/FUNDING.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
# These are supported funding model platforms
22

3-
github: [ivankatliarchuk]
4-
patreon: # Replace with a single Patreon username
53
open_collective: # Replace with a single Open Collective username
64
ko_fi: # Replace with a single Ko-fi username
7-
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8-
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9-
liberapay: # Replace with a single Liberapay username
10-
issuehunt: # Replace with a single IssueHunt username
11-
otechie: # Replace with a single Otechie username
5+
github: [ivankatliarchuk]
6+
patreon: cloudkats
7+
otechie: cloudkats
128
custom: https://paypal.me/ivankatliarchuk
9+
liberapay: cloudkats
10+
issuehunt: ivankatliarchuk

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ jobs:
4444
draft: false
4545
prerelease: false
4646
body: |
47-
Changes in this Release ${{ steps.register.outputs.changelog }}
47+
Changes in this Release ${{ steps.register.outputs.release_timestamp }}
4848
- ${{ steps.register.outputs.changelog }}
4949
- Terraform Version: ${{ env.TERRAFORM_VERSION }}

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repos:
2121
hooks:
2222
- id: terraform_fmt
2323
- id: terraform_docs
24-
# - id: terraform_tflint
24+
- id: terraform_tflint
2525
- repo: git://github.com/smian/pre-commit-makefile
2626
rev: 261f8fb4b31dfdc05d1a1d7fbde1f1462ecde66d
2727
hooks:

.tflint.hcl

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
config {
2+
deep_check = false
3+
ignore_module = {}
4+
varfile = []
5+
}
6+
7+
rule "terraform_documented_variables" {
8+
enabled = true
9+
}
10+
11+
rule "terraform_documented_outputs" {
12+
enabled = true
13+
}
14+
15+
rule "terraform_comment_syntax" {
16+
enabled = true
17+
}
18+
19+
rule "terraform_naming_convention" {
20+
enabled = true
21+
}
22+
23+
rule "terraform_deprecated_interpolation" {
24+
enabled = true
25+
}
26+
27+
rule "terraform_deprecated_index" {
28+
enabled = true
29+
}
30+
31+
rule "terraform_required_providers" {
32+
enabled = true
33+
}
34+
35+
rule "terraform_required_version" {
36+
enabled = true
37+
}
38+
39+
rule "terraform_typed_variables" {
40+
enabled = true
41+
}
42+
43+
rule "terraform_unused_declarations" {
44+
enabled = true
45+
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ module lambda {
9696
| Name | Description |
9797
|------|-------------|
9898
| arn | Lambda ARN |
99-
| cloudwatch\_logs\_arn | n/a |
99+
| cloudwatch\_logs\_arn | cloudwatch logs AWS ARN |
100100
| invoke\_arn | ARN to invoke the lambda method |
101101
| name | Lambda Name |
102102
| version | Lambda Version |

outputs.tf

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
11
output "arn" {
2-
value = aws_lambda_function.this.arn
32
description = "Lambda ARN"
3+
value = aws_lambda_function.this.arn
44
}
55

66
output "version" {
7-
value = aws_lambda_function.this.version
87
description = "Lambda Version"
8+
value = aws_lambda_function.this.version
99
}
1010

1111
output "name" {
12-
value = aws_lambda_function.this.function_name
1312
description = "Lambda Name"
13+
value = aws_lambda_function.this.function_name
1414
}
1515

1616
output "invoke_arn" {
17-
value = aws_lambda_function.this.invoke_arn
1817
description = "ARN to invoke the lambda method"
18+
value = aws_lambda_function.this.invoke_arn
1919
}
2020

2121
output "cloudwatch_logs_arn" {
22-
value = aws_cloudwatch_log_group.this.name
22+
description = "cloudwatch logs AWS ARN"
23+
value = aws_cloudwatch_log_group.this.name
2324
}
2425

0 commit comments

Comments
 (0)