microsoft / terraform-provider-power-platform

Power Platform Terraform Provider
https://registry.terraform.io/providers/microsoft/power-platform/latest/docs
MIT License
35 stars 13 forks source link

Support user defined create/update/delete timeouts for all resources in the provider #407

Closed mawasile closed 2 months ago

mawasile commented 2 months ago

Describe the bug

We should support Terraform's timeout functionality: https://developer.hashicorp.com/terraform/plugin/sdkv2/resources/retries-and-customizable-timeouts. Right now only billing policy has update/create timeout support implemented.

Sample Terraform Code

If applicable, add terraform code to help explain your problem.

REMINDER: REMOVE SENSITIVE DATA SUCH AS SECRETS, USER NAMES, EMAILS, TENANT INFORMATION, ETC.

resource "example_thing" "example" {
  # ...

  timeouts {
    create = "60m"
    update = "40m"
    delete = "30m"
  }
}