Skip to content

Commit

Permalink
Increase Scaling Group Timeouts to match the FinSpace API. (#35206)
Browse files Browse the repository at this point in the history
* Increase Scaling Group Timeouts to match the FinSpace API.

* r/aws_finspace_kx_scaling_group(doc): bump create, delete timeouts

* chore: changelog

---------

Co-authored-by: Jared Baker <[email protected]>
  • Loading branch information
hiranimd and jar-b authored Jan 9, 2024
1 parent a81937c commit 2c17e14
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .changelog/35206.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
resource/aws_finspace_kx_scaling_group: Increase default create, delete timeouts to 4 hours
```
4 changes: 2 additions & 2 deletions internal/service/finspace/kx_scaling_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ func ResourceKxScalingGroup() *schema.Resource {
},

Timeouts: &schema.ResourceTimeout{
Create: schema.DefaultTimeout(45 * time.Minute),
Create: schema.DefaultTimeout(4 * time.Hour),
Update: schema.DefaultTimeout(30 * time.Minute),
Delete: schema.DefaultTimeout(60 * time.Minute),
Delete: schema.DefaultTimeout(4 * time.Hour),
},

Schema: map[string]*schema.Schema{
Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/finspace_kx_scaling_group.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ This resource exports the following attributes in addition to the arguments abov

[Configuration options](https://developer.hashicorp.com/terraform/language/resources/syntax#operation-timeouts):

* `create` - (Default `45m`)
* `create` - (Default `4h`)
* `update` - (Default `30m`)
* `delete` - (Default `60m`)
* `delete` - (Default `4h`)

## Import

Expand Down

0 comments on commit 2c17e14

Please sign in to comment.