diff --git a/README.md b/README.md
index c7bcf5f6..bbdaae59 100644
--- a/README.md
+++ b/README.md
@@ -402,6 +402,8 @@ allow_github_webhooks = true
| [ecs\_task\_memory](#input\_ecs\_task\_memory) | The amount (in MiB) of memory used by the task | `number` | `512` | no |
| [efs\_file\_system\_encrypted](#input\_efs\_file\_system\_encrypted) | If true, the disk will be encrypted. | `bool` | `false` | no |
| [efs\_file\_system\_token](#input\_efs\_file\_system\_token) | Be able to import other EFS instance created by the other module | `string` | `""` | no |
+| [efs\_provisioned\_throughput\_in\_mibps](#input\_efs\_provisioned\_throughput\_in\_mibps) | The throughput, measured in MiB/s, that you want to provision for the file system. Only applicable with efs\_throughput\_mode set to provisioned | `number` | `null` | no |
+| [efs\_throughput\_mode](#input\_efs\_throughput\_mode) | (Optional) Throughput mode for the file system. Defaults to bursting. Valid values: bursting, provisioned, or elastic. When using provisioned, also set provisioned\_throughput\_in\_mibps. | `string` | `null` | no |
| [enable\_ecs\_managed\_tags](#input\_enable\_ecs\_managed\_tags) | Specifies whether to enable Amazon ECS managed tags for the tasks within the service | `bool` | `false` | no |
| [enable\_ephemeral\_storage](#input\_enable\_ephemeral\_storage) | Enable to use Fargate Ephemeral Storage | `bool` | `false` | no |
| [entrypoint](#input\_entrypoint) | The entry point that is passed to the container | `list(string)` | `null` | no |
diff --git a/main.tf b/main.tf
index ab1acf1d..3b91ef5f 100644
--- a/main.tf
+++ b/main.tf
@@ -465,6 +465,9 @@ resource "aws_efs_file_system" "this" {
creation_token = coalesce(var.efs_file_system_token, var.name)
+ throughput_mode = var.efs_throughput_mode
+ provisioned_throughput_in_mibps = var.efs_provisioned_throughput_in_mibps
+
encrypted = var.efs_file_system_encrypted
}
diff --git a/variables.tf b/variables.tf
index 32b18fc3..4e98f4aa 100644
--- a/variables.tf
+++ b/variables.tf
@@ -743,6 +743,18 @@ variable "efs_file_system_token" {
default = ""
}
+variable "efs_throughput_mode" {
+ description = "(Optional) Throughput mode for the file system. Defaults to bursting. Valid values: bursting, provisioned, or elastic. When using provisioned, also set provisioned_throughput_in_mibps."
+ type = string
+ default = null
+}
+
+variable "efs_provisioned_throughput_in_mibps" {
+ description = "The throughput, measured in MiB/s, that you want to provision for the file system. Only applicable with efs_throughput_mode set to provisioned"
+ type = number
+ default = null
+}
+
variable "alb_ip_address_type" {
description = "The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4 and dualstack"
type = string