Skip to content

Commit

Permalink
Fix api_management_custom_domain timeout length that was too short (#…
Browse files Browse the repository at this point in the history
…20348)

* Update api_management_custom_domain_resource.go

Extended the timeout from 45 min to 60 min

* Update api_management_custom_domain.html.markdown

Updated the documentation
  • Loading branch information
linak-lukasmendez committed Feb 8, 2023
1 parent 74fa0d1 commit 7bbf956
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ func resourceApiManagementCustomDomain() *pluginsdk.Resource {
}),

Timeouts: &pluginsdk.ResourceTimeout{
Create: pluginsdk.DefaultTimeout(45 * time.Minute),
Create: pluginsdk.DefaultTimeout(60 * time.Minute),
Read: pluginsdk.DefaultTimeout(5 * time.Minute),
Update: pluginsdk.DefaultTimeout(45 * time.Minute),
Delete: pluginsdk.DefaultTimeout(45 * time.Minute),
Update: pluginsdk.DefaultTimeout(60 * time.Minute),
Delete: pluginsdk.DefaultTimeout(60 * time.Minute),
},

Schema: map[string]*pluginsdk.Schema{
Expand Down
6 changes: 3 additions & 3 deletions website/docs/r/api_management_custom_domain.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,10 @@ In addition to the Arguments listed above - the following Attributes are exporte

The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/language/resources/syntax#operation-timeouts) for certain actions:

* `create` - (Defaults to 45 minutes) Used when creating the API Management Custom Domain.
* `create` - (Defaults to 60 minutes) Used when creating the API Management Custom Domain.
* `read` - (Defaults to 5 minutes) Used when retrieving the API Management Custom Domain.
* `update` - (Defaults to 45 minutes) Used when updating the API Management Custom Domain.
* `delete` - (Defaults to 45 minutes) Used when deleting the API Management Custom Domain.
* `update` - (Defaults to 60 minutes) Used when updating the API Management Custom Domain.
* `delete` - (Defaults to 60 minutes) Used when deleting the API Management Custom Domain.

## Import

Expand Down

0 comments on commit 7bbf956

Please sign in to comment.