Skip to content

Commit 81be4ee

Browse files
committed
Adds explicit type to additional_tags variable
May be required by terraform 14
1 parent 21eb5cb commit 81be4ee

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## v1.0.0 - April 12th 2021
44
* Updates minimum Terraform version to 13
55
* Updates minimum AWS provider version to 3.36.0
6+
* Adds explicit type to `additional_tags` variable
67

78
## v0.4.1 - Nov 6th 2020
89
* Adds input `db_port` to configure port that postgres database accepts connections on

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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 |

modules/rds-postgres-sg/README.md

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

0 commit comments

Comments
 (0)