Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix api_management_custom_domain timeout length that was too short #20348

Merged
merged 2 commits into from
Feb 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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