You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 23, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+10-10
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,11 @@
4
4
5
5
`terraform-aws-sns-to-cloudwatch-logs-lambda` is a Terraform module to provision a Lambda Function which routes SNS messages to CloudWatch Logs
6
6
7
-
- Terraform versions >= 0.12, use module `version >= "3.0.0"`
8
-
- If using `var.aws_region` to specify deployment region use `version = "2.0.1"` or switch to provider aliases and explicit provider passing
7
+
- Terraform versions >= 0.12, use module `version >= "3.0.1"` (See exception)
9
8
- Terraform versions <= 0.11, use module `version = "1.0.1"`
10
9
10
+
> Exception: if using `var.aws_region` to specify deployment region, use `version = "2.0.1"`, until you can switch to provider aliases and [explicit provider passing](https://www.terraform.io/docs/configuration/modules.html#passing-providers-explicitly).
11
+
11
12
## Terraform Module Features
12
13
13
14
This Module allows simple and rapid deployment
@@ -22,11 +23,12 @@ This Module allows simple and rapid deployment
22
23
- Optionally create custom Lambda Layer zip using [build-lambda-layer-python](https://github.com/robertpeteuil/build-lambda-layer-python)
23
24
- Enables adding/changing dependencies
24
25
- Enables compiling for different version of Python
25
-
- New behavior in `3.0.0` in preperation for Terraform 0.13
26
-
- inherits `region` from calling module's AWS Provider for resource creation/discovery.
27
-
- Deploy to alternate regions via provider aliases and [expicit provider passing](https://www.terraform.io/docs/configuration/modules.html#passing-providers-explicitly)
28
-
- This is driven by new recommendations for [Provider Configurations in Modules with 0.13](https://github.com/hashicorp/terraform/blob/master/website/docs/configuration/modules.html.md#providers-within-modules)
29
-
- Specifically [Legacy Modules with Provider Provisions](https://github.com/hashicorp/terraform/blob/master/website/docs/configuration/modules.html.md#legacy-shared-modules-with-provider-configurations)
26
+
-**Breaking Changes** in `3.0.0` - required to enable new Terraform 0.13 module arguments `for_each`, `count`, and `depends_on`
27
+
- The module's internal AWS `provider` block has been removed
28
+
-`var.aws_region` has been removed and can't be used to set a target region
29
+
- By default, modules inherit the `region` of the calling module's Provider
30
+
- To specify alternate regions, use provider aliases and [expicit provider passing](https://www.terraform.io/docs/configuration/modules.html#passing-providers-explicitly)
31
+
- Additional information can be found in the docs for [Provider Configurations in Modules with 0.13](https://github.com/hashicorp/terraform/blob/master/website/docs/configuration/modules.html.md#providers-within-modules)
30
32
31
33
## SNS to CloudWatch Logs Features
32
34
@@ -44,9 +46,7 @@ This Lambda Function forwards subject & body of SNS messages to CloudWatch Log G
0 commit comments