Skip to content

Commit

Permalink
resource/aws_spot_instance_request: Bump delete timeout to 20mins
Browse files Browse the repository at this point in the history
  • Loading branch information
radeksimko committed Feb 19, 2018
1 parent e3b21df commit d0eb889
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aws/resource_aws_spot_instance_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func resourceAwsSpotInstanceRequest() *schema.Resource {

Timeouts: &schema.ResourceTimeout{
Create: schema.DefaultTimeout(10 * time.Minute),
Delete: schema.DefaultTimeout(10 * time.Minute),
Delete: schema.DefaultTimeout(20 * time.Minute),
},

Schema: func() map[string]*schema.Schema {
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/spot_instance_request.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Spot Instance Requests support all the same arguments as
The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/docs/configuration/resources.html#timeouts) for certain actions:

* `create` - (Defaults to 10 mins) Used when requesting the spot instance (only valid if `wait_for_fulfillment = true`)
* `delete` - (Defaults to 10 mins) Used when terminating all instances launched via the given spot instance request
* `delete` - (Defaults to 20 mins) Used when terminating all instances launched via the given spot instance request

## Attributes Reference

Expand Down

0 comments on commit d0eb889

Please sign in to comment.