Search code examples
networkingterraformazureservicebusazure-servicebus-queuesazure-rm

Terraform stuck at still creating step and timeouts while creating Azure Service Bus Queue


Error Message

Terraform apply is successful creating the Azure Service Bus Queue but, not updating it in the terraform state. It gets stuck at in still creating step and timeout after 30 minutes as per the default timeout policy.

I tried running the plan using the old terraform and azurerm version but the issue is still the same.

This issue isn't there while creating Azure Service Bus Topics within the same Azure Service Bus Namespace.


Solution

  • The Timeout issue for me was with argument named lock_duration. For which the value passed was P0DT0H5M0S but it is expecting for short formatted string like PT5M.

    Don't know why this was happening as it is ISO 8601 timespan duration format.