Skip to content

Commit

Permalink
fix: Add comment warning about expensive provisioned throughput mode (#…
Browse files Browse the repository at this point in the history
…29)

Co-authored-by: Anton Babenko <[email protected]>
  • Loading branch information
kodakmoment and antonbabenko authored Mar 18, 2024
1 parent 4029c20 commit f86d365
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ module "efs" {
encrypted = true
kms_key_arn = "arn:aws:kms:eu-west-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
performance_mode = "maxIO"
throughput_mode = "provisioned"
provisioned_throughput_in_mibps = 256
# performance_mode = "maxIO"
# NB! PROVISIONED TROUGHPUT MODE WITH 256 MIBPS IS EXPENSIVE ~$1500/month
# throughput_mode = "provisioned"
# provisioned_throughput_in_mibps = 256
lifecycle_policy = {
transition_to_ia = "AFTER_30_DAYS"
Expand Down
7 changes: 4 additions & 3 deletions examples/complete/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ module "efs" {
encrypted = true
kms_key_arn = module.kms.key_arn

performance_mode = "maxIO"
throughput_mode = "provisioned"
provisioned_throughput_in_mibps = 256
# performance_mode = "maxIO"
# NB! PROVISIONED TROUGHPUT MODE WITH 256 MIBPS IS EXPENSIVE ~$1500/month
# throughput_mode = "provisioned"
# provisioned_throughput_in_mibps = 256

lifecycle_policy = {
transition_to_ia = "AFTER_30_DAYS"
Expand Down

0 comments on commit f86d365

Please sign in to comment.