diff --git a/tests/main.tf b/tests/main.tf index 0e8eeee..0a085fe 100644 --- a/tests/main.tf +++ b/tests/main.tf @@ -18,7 +18,7 @@ module "tests" { httpbin = var.tests_httpbin_enabled config = { executor = var.tests_config_executor - ramping_steps = var.tests_ramping_steps + ramping_steps = var.tests_config_ramping_steps duration = var.tests_config_duration rate = var.tests_config_rate virtual_users = var.tests_config_virtual_users diff --git a/tests/main.tfvars.example b/tests/main.tfvars.example index d8d257d..0431b1d 100644 --- a/tests/main.tfvars.example +++ b/tests/main.tfvars.example @@ -8,7 +8,7 @@ tests_timestamp_enabled = true tests_httpbin_enabled = false tests_config_executor = "constant-arrival-rate" -tests_ramping_steps = 10 +tests_config_ramping_steps = 10 tests_config_duration = 15 tests_config_rate = 20000 tests_config_virtual_users = 50 diff --git a/tests/vars.tests.tf b/tests/vars.tests.tf index 2e07d6a..a7d41c9 100644 --- a/tests/vars.tests.tf +++ b/tests/vars.tests.tf @@ -13,7 +13,7 @@ variable "tests_config_executor" { default = "constant-arrival-rate" } -variable "tests_ramping_steps" { +variable "tests_config_ramping_steps" { type = number default = 10 }