From e247e72ebaa816cbd46cc508ed2aaab94e03ff74 Mon Sep 17 00:00:00 2001 From: gp-davidhardy <107886104+gp-davidhardy@users.noreply.github.com> Date: Wed, 28 Jun 2023 15:28:01 -0400 Subject: [PATCH] feat: Added support for elastic throughput mode (#13) Co-authored-by: Anton Babenko --- README.md | 6 +++--- examples/complete/README.md | 6 +++--- examples/complete/main.tf | 2 +- examples/complete/versions.tf | 2 +- variables.tf | 2 +- versions.tf | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index a2630a1..46a220a 100644 --- a/README.md +++ b/README.md @@ -118,13 +118,13 @@ Examples codified under the [`examples`](https://github.com/terraform-aws-module | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.0 | -| [aws](#requirement\_aws) | >= 4.16 | +| [aws](#requirement\_aws) | >= 4.42 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 4.16 | +| [aws](#provider\_aws) | >= 4.42 | ## Modules @@ -176,7 +176,7 @@ No modules. | [security\_group\_vpc\_id](#input\_security\_group\_vpc\_id) | The VPC ID where the security group will be created | `string` | `null` | no | | [source\_policy\_documents](#input\_source\_policy\_documents) | List of IAM policy documents that are merged together into the exported document. Statements must have unique `sid`s | `list(string)` | `[]` | no | | [tags](#input\_tags) | A map of tags to add to all resources | `map(string)` | `{}` | no | -| [throughput\_mode](#input\_throughput\_mode) | Throughput mode for the file system. Defaults to `bursting`. Valid values: `bursting`, `provisioned`. When using `provisioned`, also set `provisioned_throughput_in_mibps` | `string` | `null` | no | +| [throughput\_mode](#input\_throughput\_mode) | Throughput mode for the file system. Defaults to `bursting`. Valid values: `bursting`, `elastic`, and `provisioned`. When using `provisioned`, also set `provisioned_throughput_in_mibps` | `string` | `null` | no | ## Outputs diff --git a/examples/complete/README.md b/examples/complete/README.md index 499e1af..ffae145 100644 --- a/examples/complete/README.md +++ b/examples/complete/README.md @@ -24,13 +24,13 @@ Note that this example may create resources which will incur monetary charges on | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.0 | -| [aws](#requirement\_aws) | >= 4.16 | +| [aws](#requirement\_aws) | >= 4.42 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 4.16 | +| [aws](#provider\_aws) | >= 4.42 | ## Modules @@ -40,7 +40,7 @@ Note that this example may create resources which will incur monetary charges on | [efs\_default](#module\_efs\_default) | ../.. | n/a | | [efs\_disabled](#module\_efs\_disabled) | ../.. | n/a | | [kms](#module\_kms) | terraform-aws-modules/kms/aws | ~> 1.0 | -| [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | ~> 3.0 | +| [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | ~> 5.0 | ## Resources diff --git a/examples/complete/main.tf b/examples/complete/main.tf index fe61c98..fe2a5ef 100644 --- a/examples/complete/main.tf +++ b/examples/complete/main.tf @@ -126,7 +126,7 @@ module "efs_disabled" { module "vpc" { source = "terraform-aws-modules/vpc/aws" - version = "~> 3.0" + version = "~> 5.0" name = local.name cidr = "10.99.0.0/18" diff --git a/examples/complete/versions.tf b/examples/complete/versions.tf index 1ca84f6..b8fc66b 100644 --- a/examples/complete/versions.tf +++ b/examples/complete/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 4.16" + version = ">= 4.42" } } } diff --git a/variables.tf b/variables.tf index 4a3baf0..c0c21da 100644 --- a/variables.tf +++ b/variables.tf @@ -57,7 +57,7 @@ variable "provisioned_throughput_in_mibps" { } variable "throughput_mode" { - description = "Throughput mode for the file system. Defaults to `bursting`. Valid values: `bursting`, `provisioned`. When using `provisioned`, also set `provisioned_throughput_in_mibps`" + description = "Throughput mode for the file system. Defaults to `bursting`. Valid values: `bursting`, `elastic`, and `provisioned`. When using `provisioned`, also set `provisioned_throughput_in_mibps`" type = string default = null } diff --git a/versions.tf b/versions.tf index 1ca84f6..b8fc66b 100644 --- a/versions.tf +++ b/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 4.16" + version = ">= 4.42" } } }