Skip to content

Commit

Permalink
Merge pull request #21531 from huguesalary/patch-1
Browse files Browse the repository at this point in the history
Increase route_table Create timeout
  • Loading branch information
anGie44 authored Dec 16, 2021
2 parents aa91cab + d88eecb commit 5427777
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions .changelog/21531.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
```release-note:enhancement
resource/aws_route: Extend creation timeout to 5 minutes
```

```release-note:enhancement
resource/aws_route_table: Extend creation timeout to 5 minutes
```
2 changes: 1 addition & 1 deletion internal/service/ec2/route.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func ResourceRoute() *schema.Resource {
},

Timeouts: &schema.ResourceTimeout{
Create: schema.DefaultTimeout(2 * time.Minute),
Create: schema.DefaultTimeout(5 * time.Minute),
Update: schema.DefaultTimeout(2 * time.Minute),
Delete: schema.DefaultTimeout(5 * time.Minute),
},
Expand Down
2 changes: 1 addition & 1 deletion internal/service/ec2/route_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func ResourceRouteTable() *schema.Resource {
},

Timeouts: &schema.ResourceTimeout{
Create: schema.DefaultTimeout(2 * time.Minute),
Create: schema.DefaultTimeout(5 * time.Minute),
Update: schema.DefaultTimeout(2 * time.Minute),
Delete: schema.DefaultTimeout(5 * time.Minute),
},
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/route.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ In addition to all arguments above, the following attributes are exported:

`aws_route` provides the following [Timeouts](https://www.terraform.io/docs/configuration/blocks/resources/syntax.html#operation-timeouts) configuration options:

- `create` - (Default `2 minutes`) Used for route creation
- `create` - (Default `5 minutes`) Used for route creation
- `update` - (Default `2 minutes`) Used for route creation
- `delete` - (Default `5 minutes`) Used for route deletion

Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/route_table.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ attribute once the route resource is created.

## Timeouts

`aws_default_route_table` provides the following [Timeouts](https://www.terraform.io/docs/configuration/blocks/resources/syntax.html#operation-timeouts) configuration options:
`aws_route_table` provides the following [Timeouts](https://www.terraform.io/docs/configuration/blocks/resources/syntax.html#operation-timeouts) configuration options:

- `create` - (Default `2 minutes`) Used for route creation
- `create` - (Default `5 minutes`) Used for route creation
- `update` - (Default `2 minutes`) Used for route creation
- `delete` - (Default `5 minutes`) Used for route deletion

Expand Down

0 comments on commit 5427777

Please sign in to comment.