From 0027824491f3d442530c8c71d81ba57c006160a6 Mon Sep 17 00:00:00 2001 From: kostas Date: Tue, 25 May 2021 17:48:53 +0300 Subject: [PATCH] fix minimum timeout_in_seconds --- .changelog/19515.txt | 3 +++ aws/resource_aws_synthetics_canary.go | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .changelog/19515.txt diff --git a/.changelog/19515.txt b/.changelog/19515.txt new file mode 100644 index 00000000000..f41d46513e5 --- /dev/null +++ b/.changelog/19515.txt @@ -0,0 +1,3 @@ +```release-note:bug +resource/aws_synthetics_canary: Change minimum `timeout_in_seconds` in `run_config` from `60` to `3` +``` diff --git a/aws/resource_aws_synthetics_canary.go b/aws/resource_aws_synthetics_canary.go index f04e4919d02..99518674bcf 100644 --- a/aws/resource_aws_synthetics_canary.go +++ b/aws/resource_aws_synthetics_canary.go @@ -96,7 +96,7 @@ func resourceAwsSyntheticsCanary() *schema.Resource { "timeout_in_seconds": { Type: schema.TypeInt, Optional: true, - ValidateFunc: validation.IntBetween(60, 14*60), + ValidateFunc: validation.IntBetween(3, 14*60), Default: 840, }, },