Skip to content

Commit 1480843

Browse files
fix: Typo on subscription_filter_policy variable (terraform-aws-modules#113)
1 parent 82f536b commit 1480843

File tree

10 files changed

+20
-20
lines changed

10 files changed

+20
-20
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: git://github.com/antonbabenko/pre-commit-terraform
3-
rev: v1.41.0
3+
rev: v1.43.0
44
hooks:
55
- id: terraform_fmt
66
- id: terraform_docs

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ All notable changes to this project will be documented in this file.
111111
<a name="v2.11.0"></a>
112112
## [v2.11.0] - 2020-03-19
113113

114-
- Add subsription filter policy support ([#74](https://github.com/terraform-aws-modules/terraform-aws-notify-slack/issues/74))
114+
- Add subscription filter policy support ([#74](https://github.com/terraform-aws-modules/terraform-aws-notify-slack/issues/74))
115115

116116

117117
<a name="v2.10.0"></a>

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,14 @@ To run the tests:
8585

8686
| Name | Version |
8787
|------|---------|
88-
| terraform | >= 0.13.0, < 0.14 |
89-
| aws | >= 2.35, < 4.0 |
88+
| terraform | >= 0.13.0 |
89+
| aws | >= 2.35 |
9090

9191
## Providers
9292

9393
| Name | Version |
9494
|------|---------|
95-
| aws | >= 2.35, < 4.0 |
95+
| aws | >= 2.35 |
9696

9797
## Inputs
9898

@@ -120,7 +120,7 @@ To run the tests:
120120
| sns\_topic\_kms\_key\_id | ARN of the KMS key used for enabling SSE on the topic | `string` | `""` | no |
121121
| sns\_topic\_name | The name of the SNS topic to create | `string` | n/a | yes |
122122
| sns\_topic\_tags | Additional tags for the SNS topic | `map(string)` | `{}` | no |
123-
| subsription\_filter\_policy | (Optional) A valid filter policy that will be used in the subscription to filter messages seen by the target resource. | `string` | `null` | no |
123+
| subscription\_filter\_policy | (Optional) A valid filter policy that will be used in the subscription to filter messages seen by the target resource. | `string` | `null` | no |
124124
| tags | A map of tags to add to all resources | `map(string)` | `{}` | no |
125125

126126
## Outputs

examples/cloudwatch-alerts-to-slack/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,14 @@ Note that this example may create resources which can cost money. Run `terraform
6060

6161
| Name | Version |
6262
|------|---------|
63-
| terraform | >= 0.13.0, < 0.14 |
64-
| aws | >= 2.35, < 4.0 |
63+
| terraform | >= 0.13.0 |
64+
| aws | >= 2.35 |
6565

6666
## Providers
6767

6868
| Name | Version |
6969
|------|---------|
70-
| aws | >= 2.35, < 4.0 |
70+
| aws | >= 2.35 |
7171

7272
## Inputs
7373

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
terraform {
2-
required_version = ">= 0.13.0, < 0.14"
2+
required_version = ">= 0.13.0"
33

44
required_providers {
5-
aws = ">= 2.35, < 4.0"
5+
aws = ">= 2.35"
66
}
77
}

examples/notify-slack-simple/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ Note that this example may create resources which can cost money (AWS Elastic IP
2323

2424
| Name | Version |
2525
|------|---------|
26-
| terraform | >= 0.13.0, < 0.14 |
27-
| aws | >= 2.35, < 4.0 |
26+
| terraform | >= 0.13.0 |
27+
| aws | >= 2.35 |
2828

2929
## Providers
3030

3131
| Name | Version |
3232
|------|---------|
33-
| aws | >= 2.35, < 4.0 |
33+
| aws | >= 2.35 |
3434

3535
## Inputs
3636

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
terraform {
2-
required_version = ">= 0.13.0, < 0.14"
2+
required_version = ">= 0.13.0"
33

44
required_providers {
5-
aws = ">= 2.35, < 4.0"
5+
aws = ">= 2.35"
66
}
77
}

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ resource "aws_sns_topic_subscription" "sns_notify_slack" {
6262
topic_arn = local.sns_topic_arn
6363
protocol = "lambda"
6464
endpoint = module.lambda.this_lambda_function_arn
65-
filter_policy = var.subsription_filter_policy
65+
filter_policy = var.subscription_filter_policy
6666
}
6767

6868
module "lambda" {

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ variable "cloudwatch_log_group_tags" {
132132
default = {}
133133
}
134134

135-
variable "subsription_filter_policy" {
135+
variable "subscription_filter_policy" {
136136
description = "(Optional) A valid filter policy that will be used in the subscription to filter messages seen by the target resource."
137137
type = string
138138
default = null

versions.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
terraform {
2-
required_version = ">= 0.13.0, < 0.14"
2+
required_version = ">= 0.13.0"
33

44
required_providers {
5-
aws = ">= 2.35, < 4.0"
5+
aws = ">= 2.35"
66
}
77
}

0 commit comments

Comments
 (0)