Skip to content

Commit 79fcd16

Browse files
authored
Merge pull request #15 from souza-dan/version-upgrade
DEV-14729 & DEV-14295 - Updates minimum terraform and provider versions
2 parents 3c4edef + 81be4ee commit 79fcd16

File tree

7 files changed

+15
-10
lines changed

7 files changed

+15
-10
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Tamr Terraform Template Repo
22

3+
## v1.0.0 - April 12th 2021
4+
* Updates minimum Terraform version to 13
5+
* Updates minimum AWS provider version to 3.36.0
6+
* Adds explicit type to `additional_tags` variable
7+
38
## v0.4.1 - Nov 6th 2020
49
* Adds input `db_port` to configure port that postgres database accepts connections on
510
* Fixes example so it accepts `ingress_sg_ids` as input

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ This terraform module will create:
3636

3737
| Name | Version |
3838
|------|---------|
39-
| terraform | >= 0.12 |
40-
| aws | >= 2.45.0 |
39+
| terraform | >= 0.13 |
40+
| aws | >= 3.36.0 |
4141

4242
## Providers
4343

4444
| Name | Version |
4545
|------|---------|
46-
| aws | >= 2.45.0 |
46+
| aws | >= 3.36.0 |
4747

4848
## Inputs
4949

@@ -55,7 +55,7 @@ This terraform module will create:
5555
| subnet\_group\_name | The name of the subnet group to add the RDS instance to | `string` | n/a | yes |
5656
| vpc\_id | VPC ID for the rds security group | `string` | n/a | yes |
5757
| additional\_cidrs | Additional CIDR to connect to RDS Postgres instance | `list(string)` | `[]` | no |
58-
| additional\_tags | Additional tags to set on the RDS instance | `map` | `{}` | no |
58+
| additional\_tags | Additional tags to set on the RDS instance | `map(string)` | `{}` | no |
5959
| allocated\_storage | Allocate storage | `number` | `20` | no |
6060
| apply\_immediately | Apply immediately, do not set this to true for production | `bool` | `false` | no |
6161
| backup\_retention\_period | Backup retention period in days | `number` | `14` | no |

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.4.1
1+
1.0.0

modules/rds-postgres-sg/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ This terraform module will create:
3838
| ingress\_sg\_ids | List of security group IDs to allow ingress from (i.e. Spark cluster SG IDs, Tamr VM SG ID) | `list(string)` | n/a | yes |
3939
| vpc\_id | VPC ID for the rds security group | `string` | n/a | yes |
4040
| additional\_cidrs | Additional CIDR to connect to RDS Postgres instance | `list(string)` | `[]` | no |
41-
| additional\_tags | Additional tags to set on the RDS instance | `map` | `{}` | no |
41+
| additional\_tags | Additional tags to set on the RDS instance | `map(string)` | `{}` | no |
4242
| security\_group\_name | Name for the security group for the rds instance | `string` | `"tamr_rds_sg"` | no |
4343

4444
## Outputs

modules/rds-postgres-sg/variables.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ variable "additional_cidrs" {
2222

2323
variable "additional_tags" {
2424
description = "Additional tags to set on the RDS instance"
25-
type = map
25+
type = map(string)
2626
default = {}
2727
}

variables.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ variable "copy_tags_to_snapshot" {
105105

106106
variable "additional_tags" {
107107
description = "Additional tags to set on the RDS instance"
108-
type = map
108+
type = map(string)
109109
default = {}
110110
}
111111

versions.tf

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
terraform {
2-
required_version = ">= 0.12"
2+
required_version = ">= 0.13"
33
required_providers {
4-
aws = ">= 2.45.0"
4+
aws = ">= 3.36.0"
55
}
66
}

0 commit comments

Comments
 (0)