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

function apps: updating the read timeout to 5m #15867

Merged
merged 1 commit into from
Mar 17, 2022
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 @@ -477,7 +477,7 @@ func (r LinuxFunctionAppResource) Create() sdk.ResourceFunc {

func (r LinuxFunctionAppResource) Read() sdk.ResourceFunc {
return sdk.ResourceFunc{
Timeout: 25 * time.Minute,
Timeout: 5 * time.Minute,
Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error {
client := metadata.Client.AppService.WebAppsClient
id, err := parse.FunctionAppID(metadata.ResourceData.Id())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ func (r LinuxFunctionAppSlotResource) Create() sdk.ResourceFunc {

func (r LinuxFunctionAppSlotResource) Read() sdk.ResourceFunc {
return sdk.ResourceFunc{
Timeout: 25 * time.Minute,
Timeout: 5 * time.Minute,
Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error {
client := metadata.Client.AppService.WebAppsClient
id, err := parse.FunctionAppSlotID(metadata.ResourceData.Id())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ func (r WindowsFunctionAppResource) Create() sdk.ResourceFunc {

func (r WindowsFunctionAppResource) Read() sdk.ResourceFunc {
return sdk.ResourceFunc{
Timeout: 25 * time.Minute,
Timeout: 5 * time.Minute,
Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error {
client := metadata.Client.AppService.WebAppsClient
id, err := parse.FunctionAppID(metadata.ResourceData.Id())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ func (r WindowsFunctionAppSlotResource) Create() sdk.ResourceFunc {

func (r WindowsFunctionAppSlotResource) Read() sdk.ResourceFunc {
return sdk.ResourceFunc{
Timeout: 25 * time.Minute,
Timeout: 5 * time.Minute,
Func: func(ctx context.Context, metadata sdk.ResourceMetaData) error {
client := metadata.Client.AppService.WebAppsClient
id, err := parse.FunctionAppSlotID(metadata.ResourceData.Id())
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/linux_function_app.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ A `site_credential` block exports the following:
The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/docs/configuration/resources.html#timeouts) for certain actions:

* `create` - (Defaults to 30 minutes) Used when creating the Linux Function App.
* `read` - (Defaults to 25 minutes) Used when retrieving the Linux Function App.
* `read` - (Defaults to 5 minutes) Used when retrieving the Linux Function App.
* `update` - (Defaults to 30 minutes) Used when updating the Linux Function App.
* `delete` - (Defaults to 30 minutes) Used when deleting the Linux Function App.

Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/linux_function_app_slot.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/d

* `create` - (Defaults to 30 minutes) Used when creating the Linux Function App Slot.
* `update` - (Defaults to 30 minutes) Used when updating the Linux Function App Slot.
* `read` - (Defaults to 25 minutes) Used when retrieving the Linux Function App Slot.
* `read` - (Defaults to 5 minutes) Used when retrieving the Linux Function App Slot.
* `delete` - (Defaults to 30 minutes) Used when deleting the Linux Function App Slot.

## Import
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/windows_function_app.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ A `site_credential` block exports the following:
The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/docs/configuration/resources.html#timeouts) for certain actions:

* `create` - (Defaults to 30 minutes) Used when creating the Windows Function App.
* `read` - (Defaults to 25 minutes) Used when retrieving the Windows Function App.
* `read` - (Defaults to 5 minutes) Used when retrieving the Windows Function App.
* `update` - (Defaults to 30 minutes) Used when updating the Windows Function App.
* `delete` - (Defaults to 30 minutes) Used when deleting the Windows Function App.

Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/windows_function_app_slot.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/d

* `create` - (Defaults to 30 minutes) Used when creating the Windows Function App Slot.
* `update` - (Defaults to 30 minutes) Used when updating the Windows Function App Slot.
* `read` - (Defaults to 25 minutes) Used when retrieving the Windows Function App Slot.
* `read` - (Defaults to 5 minutes) Used when retrieving the Windows Function App Slot.
* `delete` - (Defaults to 30 minutes) Used when deleting the Windows Function App Slot.

## Import
Expand Down