From daa2c0e8baf0c451c5dd0f614e53e3495ac54a64 Mon Sep 17 00:00:00 2001 From: Bryant Biggs Date: Tue, 22 Aug 2023 15:02:46 -0400 Subject: [PATCH] fix: Correct `wait_until_stable_timeout` variable type (#110) --- .pre-commit-config.yaml | 2 +- modules/service/README.md | 2 +- modules/service/variables.tf | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e79e67b..bce3622 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/antonbabenko/pre-commit-terraform - rev: v1.81.0 + rev: v1.82.0 hooks: - id: terraform_fmt - id: terraform_wrapper_module_for_each diff --git a/modules/service/README.md b/modules/service/README.md index 3faa6e5..81ebb3c 100644 --- a/modules/service/README.md +++ b/modules/service/README.md @@ -315,7 +315,7 @@ module "ecs_service" { | [volume](#input\_volume) | Configuration block for volumes that containers in your task may use | `any` | `{}` | no | | [wait\_for\_steady\_state](#input\_wait\_for\_steady\_state) | If true, Terraform will wait for the service to reach a steady state before continuing. Default is `false` | `bool` | `null` | no | | [wait\_until\_stable](#input\_wait\_until\_stable) | Whether terraform should wait until the task set has reached `STEADY_STATE` | `bool` | `null` | no | -| [wait\_until\_stable\_timeout](#input\_wait\_until\_stable\_timeout) | Wait timeout for task set to reach `STEADY_STATE`. Valid time units include `ns`, `us` (or µs), `ms`, `s`, `m`, and `h`. Default `10m` | `number` | `null` | no | +| [wait\_until\_stable\_timeout](#input\_wait\_until\_stable\_timeout) | Wait timeout for task set to reach `STEADY_STATE`. Valid time units include `ns`, `us` (or µs), `ms`, `s`, `m`, and `h`. Default `10m` | `string` | `null` | no | ## Outputs diff --git a/modules/service/variables.tf b/modules/service/variables.tf index bd8c730..3237e55 100644 --- a/modules/service/variables.tf +++ b/modules/service/variables.tf @@ -545,7 +545,7 @@ variable "wait_until_stable" { variable "wait_until_stable_timeout" { description = "Wait timeout for task set to reach `STEADY_STATE`. Valid time units include `ns`, `us` (or µs), `ms`, `s`, `m`, and `h`. Default `10m`" - type = number + type = string default = null }