Skip to content

Commit

Permalink
Merge pull request #3435 from terraform-providers/b-spot-instance-req…
Browse files Browse the repository at this point in the history
…-timeout-bump

resource/aws_spot_instance_request: Bump delete timeout to 20mins
  • Loading branch information
radeksimko authored Feb 20, 2018
2 parents 23f0892 + d0eb889 commit ceed7fb
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 ceed7fb

Please sign in to comment.