diff --git a/elasticache-redis/auth-token/README.md b/elasticache-redis/auth-token/README.md index 5a0c673..fbc6c5e 100644 --- a/elasticache-redis/auth-token/README.md +++ b/elasticache-redis/auth-token/README.md @@ -16,20 +16,20 @@ token is changed. | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.6.2 | -| [aws](#requirement\_aws) | ~> 5.0 | +| [aws](#requirement\_aws) | ~> 6.0 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | ~> 5.0 | +| [aws](#provider\_aws) | ~> 6.0 | ## Modules | Name | Source | Version | |------|--------|---------| -| [rotation](#module\_rotation) | github.com/thoughtbot/terraform-aws-secrets//secret-rotation-function | v0.8.0 | -| [secret](#module\_secret) | github.com/thoughtbot/terraform-aws-secrets//secret | v0.8.0 | +| [rotation](#module\_rotation) | github.com/thoughtbot/terraform-aws-secrets//secret-rotation-function | v0.9.1 | +| [secret](#module\_secret) | github.com/thoughtbot/terraform-aws-secrets//secret | v0.9.1 | | [security\_group](#module\_security\_group) | ../../security-group | n/a | ## Resources diff --git a/elasticache-redis/auth-token/main.tf b/elasticache-redis/auth-token/main.tf index 4de0d25..07fa524 100644 --- a/elasticache-redis/auth-token/main.tf +++ b/elasticache-redis/auth-token/main.tf @@ -1,5 +1,5 @@ module "secret" { - source = "github.com/thoughtbot/terraform-aws-secrets//secret?ref=v0.8.0" + source = "github.com/thoughtbot/terraform-aws-secrets//secret?ref=v0.9.1" admin_principals = var.admin_principals description = "Redis auth token for: ${local.full_name}" @@ -17,7 +17,7 @@ module "secret" { } module "rotation" { - source = "github.com/thoughtbot/terraform-aws-secrets//secret-rotation-function?ref=v0.8.0" + source = "github.com/thoughtbot/terraform-aws-secrets//secret-rotation-function?ref=v0.9.1" handler = "lambda_function.lambda_handler" role_arn = module.secret.rotation_role_arn diff --git a/elasticache-redis/auth-token/versions.tf b/elasticache-redis/auth-token/versions.tf index bc31fc9..20568c8 100644 --- a/elasticache-redis/auth-token/versions.tf +++ b/elasticache-redis/auth-token/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = "~> 5.0" + version = "~> 6.0" } } } diff --git a/elasticache-redis/replication-group/README.md b/elasticache-redis/replication-group/README.md index 383bab3..b2040a9 100644 --- a/elasticache-redis/replication-group/README.md +++ b/elasticache-redis/replication-group/README.md @@ -8,14 +8,14 @@ Provision a Redis cluster using AWS ElastiCache. | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.6.2 | -| [aws](#requirement\_aws) | ~> 5.0 | +| [aws](#requirement\_aws) | ~> 6.0 | | [random](#requirement\_random) | ~> 3.0 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | ~> 5.0 | +| [aws](#provider\_aws) | ~> 6.0 | | [random](#provider\_random) | ~> 3.0 | ## Modules @@ -23,7 +23,7 @@ Provision a Redis cluster using AWS ElastiCache. | Name | Source | Version | |------|--------|---------| | [client\_security\_group](#module\_client\_security\_group) | ../../security-group | n/a | -| [customer\_kms](#module\_customer\_kms) | github.com/thoughtbot/terraform-aws-secrets//customer-managed-kms | v0.8.0 | +| [customer\_kms](#module\_customer\_kms) | github.com/thoughtbot/terraform-aws-secrets//customer-managed-kms | v0.9.1 | | [server\_security\_group](#module\_server\_security\_group) | ../../security-group | n/a | ## Resources diff --git a/elasticache-redis/replication-group/main.tf b/elasticache-redis/replication-group/main.tf index 5fbde6f..41723fc 100644 --- a/elasticache-redis/replication-group/main.tf +++ b/elasticache-redis/replication-group/main.tf @@ -36,7 +36,7 @@ resource "aws_elasticache_replication_group" "this" { } module "customer_kms" { - source = "github.com/thoughtbot/terraform-aws-secrets//customer-managed-kms?ref=v0.8.0" + source = "github.com/thoughtbot/terraform-aws-secrets//customer-managed-kms?ref=v0.9.1" name = var.name } diff --git a/elasticache-redis/replication-group/versions.tf b/elasticache-redis/replication-group/versions.tf index cc98794..85381ca 100644 --- a/elasticache-redis/replication-group/versions.tf +++ b/elasticache-redis/replication-group/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = "~> 5.0" + version = "~> 6.0" } random = { source = "hashicorp/random" diff --git a/kafka/README.md b/kafka/README.md index 32e00fd..b57e329 100644 --- a/kafka/README.md +++ b/kafka/README.md @@ -25,20 +25,20 @@ module "kafka_staging" { | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.6.2 | -| [aws](#requirement\_aws) | ~> 5.0 | +| [aws](#requirement\_aws) | ~> 6.0 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | ~> 5.0 | +| [aws](#provider\_aws) | ~> 6.0 | ## Modules | Name | Source | Version | |------|--------|---------| -| [additional\_vpc](#module\_additional\_vpc) | github.com/thoughtbot/flightdeck//aws/network-data | v0.9.2 | -| [network](#module\_network) | github.com/thoughtbot/flightdeck//aws/network-data | v0.9.2 | +| [additional\_vpc](#module\_additional\_vpc) | github.com/thoughtbot/flightdeck//aws/network-data | v0.13.6 | +| [network](#module\_network) | github.com/thoughtbot/flightdeck//aws/network-data | v0.13.6 | ## Resources diff --git a/kafka/main.tf b/kafka/main.tf index de25ae7..843573b 100644 --- a/kafka/main.tf +++ b/kafka/main.tf @@ -5,9 +5,14 @@ resource "aws_msk_cluster" "this" { broker_node_group_info { instance_type = var.instance_type - ebs_volume_size = var.ebs_volume_size client_subnets = module.network.private_subnet_ids security_groups = [aws_security_group.this.id] + + storage_info { + ebs_storage_info { + volume_size = var.ebs_volume_size + } + } } encryption_info { @@ -48,7 +53,7 @@ resource "aws_msk_cluster" "this" { } module "network" { - source = "github.com/thoughtbot/flightdeck//aws/network-data?ref=v0.9.2" + source = "github.com/thoughtbot/flightdeck//aws/network-data?ref=v0.13.6" private_tags = var.private_tags public_tags = var.public_tags @@ -57,7 +62,7 @@ module "network" { module "additional_vpc" { count = length(keys(var.additional_vpc_tags)) == 0 ? 0 : 1 - source = "github.com/thoughtbot/flightdeck//aws/network-data?ref=v0.9.2" + source = "github.com/thoughtbot/flightdeck//aws/network-data?ref=v0.13.6" vpc_tags = var.additional_vpc_tags } diff --git a/kafka/versions.tf b/kafka/versions.tf index bc31fc9..20568c8 100644 --- a/kafka/versions.tf +++ b/kafka/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = "~> 5.0" + version = "~> 6.0" } } } diff --git a/opensearch/README.md b/opensearch/README.md index 60f511d..3a7fed2 100644 --- a/opensearch/README.md +++ b/opensearch/README.md @@ -4,19 +4,19 @@ | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.6.2 | -| [aws](#requirement\_aws) | ~> 5.0 | +| [aws](#requirement\_aws) | ~> 6.0 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | ~> 5.0 | +| [aws](#provider\_aws) | ~> 6.0 | ## Modules | Name | Source | Version | |------|--------|---------| -| [elasticsearch\_secret](#module\_elasticsearch\_secret) | github.com/thoughtbot/terraform-aws-secrets//secret | v0.8.0 | +| [elasticsearch\_secret](#module\_elasticsearch\_secret) | github.com/thoughtbot/terraform-aws-secrets//secret | v0.9.1 | ## Resources diff --git a/opensearch/main.tf b/opensearch/main.tf index e812f87..2999515 100644 --- a/opensearch/main.tf +++ b/opensearch/main.tf @@ -442,7 +442,7 @@ resource "aws_vpc_security_group_egress_rule" "this" { } module "elasticsearch_secret" { - source = "github.com/thoughtbot/terraform-aws-secrets//secret?ref=v0.8.0" + source = "github.com/thoughtbot/terraform-aws-secrets//secret?ref=v0.9.1" admin_principals = var.admin_principals description = "Elastisearch secrets for: ${var.application_name}" diff --git a/opensearch/versions.tf b/opensearch/versions.tf index bc31fc9..20568c8 100644 --- a/opensearch/versions.tf +++ b/opensearch/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = "~> 5.0" + version = "~> 6.0" } } } diff --git a/rds-postgres/admin-login/README.md b/rds-postgres/admin-login/README.md index b701e8e..cc5bbeb 100644 --- a/rds-postgres/admin-login/README.md +++ b/rds-postgres/admin-login/README.md @@ -16,20 +16,20 @@ suitable for application credentials. We recommend you combine this module with | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.6.2 | -| [aws](#requirement\_aws) | ~> 5.0 | +| [aws](#requirement\_aws) | ~> 6.0 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | ~> 5.0 | +| [aws](#provider\_aws) | ~> 6.0 | ## Modules | Name | Source | Version | |------|--------|---------| -| [rotation](#module\_rotation) | github.com/thoughtbot/terraform-aws-secrets//secret-rotation-function | v0.8.0 | -| [secret](#module\_secret) | github.com/thoughtbot/terraform-aws-secrets//secret | v0.8.0 | +| [rotation](#module\_rotation) | github.com/thoughtbot/terraform-aws-secrets//secret-rotation-function | v0.9.1 | +| [secret](#module\_secret) | github.com/thoughtbot/terraform-aws-secrets//secret | v0.9.1 | | [security\_group](#module\_security\_group) | ../../security-group | n/a | ## Resources @@ -51,6 +51,7 @@ suitable for application credentials. We recommend you combine this module with | [identifier](#input\_identifier) | Identifier of the database for which a login will be managed | `string` | n/a | yes | | [initial\_password](#input\_initial\_password) | ARN of the KMS key used to encrypt the admin login | `string` | n/a | yes | | [read\_principals](#input\_read\_principals) | Principals allowed to read the secret (default: current account) | `list(string)` | `null` | no | +| [replica\_regions](#input\_replica\_regions) | List of regions to replicate the secret to |
list(object({
region = string
kms_key_id = optional(string)
})) | `[]` | no |
| [secret\_name](#input\_secret\_name) | Override the name for this secret | `string` | `null` | no |
| [security\_group\_ids](#input\_security\_group\_ids) | Security groups to attach to the rotation function | `list(string)` | `[]` | no |
| [subnet\_ids](#input\_subnet\_ids) | Subnets in which the rotation function should run | `list(string)` | n/a | yes |
diff --git a/rds-postgres/admin-login/main.tf b/rds-postgres/admin-login/main.tf
index 8895c5d..1922a0f 100644
--- a/rds-postgres/admin-login/main.tf
+++ b/rds-postgres/admin-login/main.tf
@@ -1,5 +1,5 @@
module "secret" {
- source = "github.com/thoughtbot/terraform-aws-secrets//secret?ref=v0.8.0"
+ source = "github.com/thoughtbot/terraform-aws-secrets//secret?ref=v0.9.1"
admin_principals = var.admin_principals
description = "Postgres password for: ${local.full_name}"
@@ -20,7 +20,7 @@ module "secret" {
}
module "rotation" {
- source = "github.com/thoughtbot/terraform-aws-secrets//secret-rotation-function?ref=v0.8.0"
+ source = "github.com/thoughtbot/terraform-aws-secrets//secret-rotation-function?ref=v0.9.1"
handler = "lambda_function.lambda_handler"
role_arn = module.secret.rotation_role_arn
diff --git a/rds-postgres/admin-login/versions.tf b/rds-postgres/admin-login/versions.tf
index bc31fc9..20568c8 100644
--- a/rds-postgres/admin-login/versions.tf
+++ b/rds-postgres/admin-login/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = "~> 5.0"
+ version = "~> 6.0"
}
}
}
diff --git a/rds-postgres/cloudwatch-alarms/README.md b/rds-postgres/cloudwatch-alarms/README.md
index 7e15278..3a89fdb 100644
--- a/rds-postgres/cloudwatch-alarms/README.md
+++ b/rds-postgres/cloudwatch-alarms/README.md
@@ -8,13 +8,13 @@ Creates useful CloudWatch Alarms for an RDS Postgres database.
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.6.2 |
-| [aws](#requirement\_aws) | ~> 5.0 |
+| [aws](#requirement\_aws) | ~> 6.0 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | ~> 5.0 |
+| [aws](#provider\_aws) | ~> 6.0 |
## Resources
diff --git a/rds-postgres/cloudwatch-alarms/versions.tf b/rds-postgres/cloudwatch-alarms/versions.tf
index bc31fc9..20568c8 100644
--- a/rds-postgres/cloudwatch-alarms/versions.tf
+++ b/rds-postgres/cloudwatch-alarms/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = "~> 5.0"
+ version = "~> 6.0"
}
}
}
diff --git a/rds-postgres/parameter-group/README.md b/rds-postgres/parameter-group/README.md
index 883ec26..a5530e6 100644
--- a/rds-postgres/parameter-group/README.md
+++ b/rds-postgres/parameter-group/README.md
@@ -8,13 +8,13 @@ Provision a Postgres-compatible RDS parameter group.
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.6.2 |
-| [aws](#requirement\_aws) | ~> 5.0 |
+| [aws](#requirement\_aws) | ~> 6.0 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | ~> 5.0 |
+| [aws](#provider\_aws) | ~> 6.0 |
## Resources
diff --git a/rds-postgres/parameter-group/versions.tf b/rds-postgres/parameter-group/versions.tf
index bc31fc9..20568c8 100644
--- a/rds-postgres/parameter-group/versions.tf
+++ b/rds-postgres/parameter-group/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = "~> 5.0"
+ version = "~> 6.0"
}
}
}
diff --git a/rds-postgres/primary-instance/README.md b/rds-postgres/primary-instance/README.md
index 0b35ab9..32c498f 100644
--- a/rds-postgres/primary-instance/README.md
+++ b/rds-postgres/primary-instance/README.md
@@ -8,14 +8,14 @@ Provision a Postgres database using AWS RDS.
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.6.2 |
-| [aws](#requirement\_aws) | ~> 5.0 |
+| [aws](#requirement\_aws) | ~> 6.0 |
| [random](#requirement\_random) | ~> 3.0 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | ~> 5.0 |
+| [aws](#provider\_aws) | ~> 6.0 |
| [random](#provider\_random) | ~> 3.0 |
## Modules
@@ -24,7 +24,7 @@ Provision a Postgres database using AWS RDS.
|------|--------|---------|
| [alarms](#module\_alarms) | ../cloudwatch-alarms | n/a |
| [client\_security\_group](#module\_client\_security\_group) | ../../security-group | n/a |
-| [customer\_kms](#module\_customer\_kms) | github.com/thoughtbot/terraform-aws-secrets//customer-managed-kms | v0.8.0 |
+| [customer\_kms](#module\_customer\_kms) | github.com/thoughtbot/terraform-aws-secrets//customer-managed-kms | v0.9.1 |
| [parameter\_group](#module\_parameter\_group) | ../parameter-group | n/a |
| [server\_security\_group](#module\_server\_security\_group) | ../../security-group | n/a |
diff --git a/rds-postgres/primary-instance/main.tf b/rds-postgres/primary-instance/main.tf
index 9284ad1..7245327 100644
--- a/rds-postgres/primary-instance/main.tf
+++ b/rds-postgres/primary-instance/main.tf
@@ -52,7 +52,7 @@ resource "aws_db_instance" "this" {
}
module "customer_kms" {
- source = "github.com/thoughtbot/terraform-aws-secrets//customer-managed-kms?ref=v0.8.0"
+ source = "github.com/thoughtbot/terraform-aws-secrets//customer-managed-kms?ref=v0.9.1"
name = var.identifier
}
diff --git a/rds-postgres/primary-instance/versions.tf b/rds-postgres/primary-instance/versions.tf
index cc98794..85381ca 100644
--- a/rds-postgres/primary-instance/versions.tf
+++ b/rds-postgres/primary-instance/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = "~> 5.0"
+ version = "~> 6.0"
}
random = {
source = "hashicorp/random"
diff --git a/rds-postgres/rds-postgres-login/README.md b/rds-postgres/rds-postgres-login/README.md
index 25f6a66..81b2e89 100644
--- a/rds-postgres/rds-postgres-login/README.md
+++ b/rds-postgres/rds-postgres-login/README.md
@@ -50,20 +50,20 @@ module "rds_admin_password" {
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.6.2 |
-| [aws](#requirement\_aws) | ~> 5.0 |
+| [aws](#requirement\_aws) | ~> 6.0 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | ~> 5.0 |
+| [aws](#provider\_aws) | ~> 6.0 |
## Modules
| Name | Source | Version |
|------|--------|---------|
-| [rotation](#module\_rotation) | github.com/thoughtbot/terraform-aws-secrets//secret-rotation-function | v0.8.0 |
-| [secret](#module\_secret) | github.com/thoughtbot/terraform-aws-secrets//secret | v0.8.0 |
+| [rotation](#module\_rotation) | github.com/thoughtbot/terraform-aws-secrets//secret-rotation-function | v0.9.1 |
+| [secret](#module\_secret) | github.com/thoughtbot/terraform-aws-secrets//secret | v0.9.1 |
## Resources
diff --git a/rds-postgres/rds-postgres-login/main.tf b/rds-postgres/rds-postgres-login/main.tf
index 43606d8..ff2dafb 100644
--- a/rds-postgres/rds-postgres-login/main.tf
+++ b/rds-postgres/rds-postgres-login/main.tf
@@ -1,5 +1,5 @@
module "secret" {
- source = "github.com/thoughtbot/terraform-aws-secrets//secret?ref=v0.8.0"
+ source = "github.com/thoughtbot/terraform-aws-secrets//secret?ref=v0.9.1"
admin_principals = var.admin_principals
description = "Postgres password for: ${local.full_name}"
@@ -20,7 +20,7 @@ module "secret" {
}
module "rotation" {
- source = "github.com/thoughtbot/terraform-aws-secrets//secret-rotation-function?ref=v0.8.0"
+ source = "github.com/thoughtbot/terraform-aws-secrets//secret-rotation-function?ref=v0.9.1"
handler = "lambda_function.lambda_handler"
role_arn = module.secret.rotation_role_arn
diff --git a/rds-postgres/rds-postgres-login/versions.tf b/rds-postgres/rds-postgres-login/versions.tf
index bc31fc9..20568c8 100644
--- a/rds-postgres/rds-postgres-login/versions.tf
+++ b/rds-postgres/rds-postgres-login/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = "~> 5.0"
+ version = "~> 6.0"
}
}
}
diff --git a/rds-postgres/replica/README.md b/rds-postgres/replica/README.md
index 9a6e3da..f7b4189 100644
--- a/rds-postgres/replica/README.md
+++ b/rds-postgres/replica/README.md
@@ -8,13 +8,13 @@ Provision a Postgres database configured as a replica using AWS RDS.
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.6.2 |
-| [aws](#requirement\_aws) | ~> 5.0 |
+| [aws](#requirement\_aws) | ~> 6.0 |
## Providers
| Name | Version |
|------|---------|
-| [aws](#provider\_aws) | ~> 5.0 |
+| [aws](#provider\_aws) | ~> 6.0 |
## Modules
diff --git a/rds-postgres/replica/versions.tf b/rds-postgres/replica/versions.tf
index bc31fc9..20568c8 100644
--- a/rds-postgres/replica/versions.tf
+++ b/rds-postgres/replica/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = "~> 5.0"
+ version = "~> 6.0"
}
}
}
diff --git a/security-group-ingress/versions.tf b/security-group-ingress/versions.tf
index bc31fc9..20568c8 100644
--- a/security-group-ingress/versions.tf
+++ b/security-group-ingress/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = "~> 5.0"
+ version = "~> 6.0"
}
}
}
diff --git a/security-group/versions.tf b/security-group/versions.tf
index d393b90..af7f653 100644
--- a/security-group/versions.tf
+++ b/security-group/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
- version = "~> 5.0"
+ version = "~> 6.0"
}
random = {
source = "hashicorp/random"