File tree Expand file tree Collapse file tree 5 files changed +76
-9
lines changed
cloudwatch-alerts-to-slack Expand file tree Collapse file tree 5 files changed +76
-9
lines changed Original file line number Diff line number Diff line change 1
- .terraform
2
- terraform.tfstate
3
- * .tfstate *
4
- terraform.tfvars
1
+ # Local .terraform directories
2
+ ** / .terraform / *
3
+
4
+ # Terraform lockfile
5
5
.terraform.lock.hcl
6
6
7
+ # .tfstate files
8
+ * .tfstate
9
+ * .tfstate. *
10
+
11
+ # Crash log files
12
+ crash.log
13
+
14
+ # Exclude all .tfvars files, which are likely to contain sentitive data, such as
15
+ # password, private keys, and other secrets. These should not be part of version
16
+ # control as they are data points which are potentially sensitive and subject
17
+ # to change depending on the environment.
18
+ * .tfvars
19
+
20
+ # Ignore override files as they are usually used to override resources locally and so
21
+ # are not checked in
22
+ override.tf
23
+ override.tf.json
24
+ * _override.tf
25
+ * _override.tf.json
26
+
27
+ # Ignore CLI configuration files
28
+ .terraformrc
29
+ terraform.rc
30
+
31
+ # Lambda directories
7
32
builds /
33
+ __pycache__ /
Original file line number Diff line number Diff line change 1
1
repos :
2
2
- repo : git://github.com/antonbabenko/pre-commit-terraform
3
- rev : v1.44 .0
3
+ rev : v1.46 .0
4
4
hooks :
5
5
- id : terraform_fmt
6
6
- id : terraform_validate
21
21
- ' --args=--only=terraform_standard_module_structure'
22
22
- ' --args=--only=terraform_workspace_remote'
23
23
- repo : git://github.com/pre-commit/pre-commit-hooks
24
- rev : v3.3 .0
24
+ rev : v3.4 .0
25
25
hooks :
26
26
- id : check-merge-conflict
Original file line number Diff line number Diff line change @@ -94,6 +94,22 @@ To run the tests:
94
94
| ------| ---------|
95
95
| aws | >= 2.35 |
96
96
97
+ ## Modules
98
+
99
+ | Name | Source | Version |
100
+ | ------| --------| ---------|
101
+ | lambda | terraform-aws-modules/lambda/aws | 1.28.0 |
102
+
103
+ ## Resources
104
+
105
+ | Name |
106
+ | ------|
107
+ | [ aws_cloudwatch_log_group] ( https://registry.terraform.io/providers/hashicorp/aws/2.35/docs/resources/cloudwatch_log_group ) |
108
+ | [ aws_iam_policy_document] ( https://registry.terraform.io/providers/hashicorp/aws/2.35/docs/data-sources/iam_policy_document ) |
109
+ | [ aws_sns_topic_subscription] ( https://registry.terraform.io/providers/hashicorp/aws/2.35/docs/resources/sns_topic_subscription ) |
110
+ | [ aws_sns_topic] ( https://registry.terraform.io/providers/hashicorp/aws/2.35/docs/data-sources/sns_topic ) |
111
+ | [ aws_sns_topic] ( https://registry.terraform.io/providers/hashicorp/aws/2.35/docs/resources/sns_topic ) |
112
+
97
113
## Inputs
98
114
99
115
| Name | Description | Type | Default | Required |
@@ -140,7 +156,6 @@ To run the tests:
140
156
| notify\_ slack\_ lambda\_ function\_ name | The name of the Lambda function |
141
157
| notify\_ slack\_ lambda\_ function\_ version | Latest published version of your Lambda function |
142
158
| this\_ slack\_ topic\_ arn | The ARN of the SNS topic from which messages will be sent to Slack |
143
-
144
159
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
145
160
146
161
## Authors
Original file line number Diff line number Diff line change @@ -71,6 +71,22 @@ Note that this example may create resources which can cost money. Run `terraform
71
71
| aws | >= 2.35 |
72
72
| random | >= 2 |
73
73
74
+ ## Modules
75
+
76
+ | Name | Source | Version |
77
+ | ------| --------| ---------|
78
+ | notify_slack | ../../ | |
79
+ | vpc | terraform-aws-modules/vpc/aws | |
80
+
81
+ ## Resources
82
+
83
+ | Name |
84
+ | ------|
85
+ | [ aws_cloudwatch_metric_alarm] ( https://registry.terraform.io/providers/hashicorp/aws/2.35/docs/resources/cloudwatch_metric_alarm ) |
86
+ | [ aws_kms_ciphertext] ( https://registry.terraform.io/providers/hashicorp/aws/2.35/docs/resources/kms_ciphertext ) |
87
+ | [ aws_kms_key] ( https://registry.terraform.io/providers/hashicorp/aws/2.35/docs/resources/kms_key ) |
88
+ | [ random_pet] ( https://registry.terraform.io/providers/hashicorp/random/2/docs/resources/pet ) |
89
+
74
90
## Inputs
75
91
76
92
No input.
@@ -87,5 +103,4 @@ No input.
87
103
| notify\_ slack\_ lambda\_ function\_ name | The name of the Lambda function |
88
104
| notify\_ slack\_ lambda\_ function\_ version | Latest published version of your Lambda function |
89
105
| this\_ sns\_ topic\_ arn | The ARN of the SNS topic from which messages will be sent to Slack |
90
-
91
106
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
Original file line number Diff line number Diff line change @@ -32,6 +32,18 @@ Note that this example may create resources which can cost money (AWS Elastic IP
32
32
| ------| ---------|
33
33
| aws | >= 2.35 |
34
34
35
+ ## Modules
36
+
37
+ | Name | Source | Version |
38
+ | ------| --------| ---------|
39
+ | notify_slack | ../../ | |
40
+
41
+ ## Resources
42
+
43
+ | Name |
44
+ | ------|
45
+ | [ aws_sns_topic] ( https://registry.terraform.io/providers/hashicorp/aws/2.35/docs/resources/sns_topic ) |
46
+
35
47
## Inputs
36
48
37
49
No input.
@@ -49,5 +61,4 @@ No input.
49
61
| notify\_ slack\_ lambda\_ function\_ name | The name of the Lambda function |
50
62
| notify\_ slack\_ lambda\_ function\_ version | Latest published version of your Lambda function |
51
63
| this\_ sns\_ topic\_ arn | The ARN of the SNS topic from which messages will be sent to Slack |
52
-
53
64
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
You can’t perform that action at this time.
0 commit comments