-
Notifications
You must be signed in to change notification settings - Fork 560
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
resource/alicloud_ess_scheduled_task: update launch_expiration_time range. #8028
Conversation
4a8b196
to
b9a7a3f
Compare
@@ -47,7 +47,7 @@ func resourceAlicloudEssScheduledTask() *schema.Resource { | |||
Type: schema.TypeInt, | |||
Default: 600, | |||
Optional: true, | |||
ValidateFunc: validation.IntBetween(0, 21600), | |||
ValidateFunc: validation.IntBetween(0, 1800), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个缩减了是非兼容的,会导致客户模板报错。另外直接使用common下的IntBetween即可
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1.API 后端的约束目前就是0-1800 之前的应该是之前接入有问题
- 使用common下的IntBetween即可 done
a560651
to
40454f5
Compare
@@ -133,7 +133,7 @@ The following arguments are supported: | |||
The time must be in UTC. You cannot enter a time point later than 90 days from the date of scheduled task creation. | |||
If the `recurrence_type` parameter is specified, the task is executed repeatedly at the time specified by LaunchTime. | |||
Otherwise, the task is only executed once at the date and time specified by LaunchTime. | |||
* `launch_expiration_time` - (Optional) The time period during which a failed scheduled task is retried. Unit: seconds. Valid values: 0 to 21600. Default value: 600 | |||
* `launch_expiration_time` - (Optional) The time period during which a failed scheduled task is retried. Unit: seconds. Valid values: 0 to 1800. Default value: 600 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个变更加个说明吧,从哪个版本起取值范围缩减了
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
@@ -133,7 +133,7 @@ The following arguments are supported: | |||
The time must be in UTC. You cannot enter a time point later than 90 days from the date of scheduled task creation. | |||
If the `recurrence_type` parameter is specified, the task is executed repeatedly at the time specified by LaunchTime. | |||
Otherwise, the task is only executed once at the date and time specified by LaunchTime. | |||
* `launch_expiration_time` - (Optional) The time period during which a failed scheduled task is retried. Unit: seconds. Valid values: 0 to 21600. Default value: 600 | |||
* `launch_expiration_time` - (Optional) The time period during which a failed scheduled task is retried. Unit: seconds. Valid values: 0 to 1800, Available in 1.239.0. Default value: 600 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Available since v1.240.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
24811a6
to
46735ee
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approved
c2cec51
to
1ba7452
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approved
No description provided.