-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Community Note
Hi,
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment and review the contribution guide to help.
Terraform Version
v1.4.5
AzureRM Provider Version
3.63.0
Affected Resource(s)/Data Source(s)
azurerm_container_app
Terraform Configuration Files
# What i'm suggesting is to increase the timeout of the resource creation
resource "azurerm_container_app" "dev" {
name = "dev-server"
container_app_environment_id = azurerm_container_app_environment.dev.id
resource_group_name = azurerm_resource_group.dev.name # West Europe
revision_mode = "Single"
tags = var.tags
template {
container {
name = "examplecontainerapp"
image = "mcr.microsoft.com/azuredocs/containerapps-helloworld:latest"
cpu = 0.25
memory = "0.5Gi"
}
}Debug Output/Panic Output
Container App Name: "dev-server"): polling after CreateOrUpdate: Code="ContainerAppOperationError" Message="Failed to provision revision for container app 'dev-server'. Error details: Operation expired."
# After the fail
│ Error: A resource with the ID "/subscriptions/aaaa-aaaaa-aaaaa-aaaaa/resourceGroups/aaaaa-RG/providers/Microsoft.App/containerApps/dev-server" already exists - to be managed via Terraform this resource needs to be imported into the State. Please see the resource documentation for "azurerm_container_app" for more information.Expected Behaviour
The resource should get created and imported into the state successfully.
Actual Behaviour
Operation expired,
But the resource actually gets created, and I had to manually Import it.
This occurred 4 times (every time I had to deploy).
( What i'm suggesting is to increase the timeout of the resource creation )
Steps to Reproduce
No response
Important Factoids
No response
References
No response
ngfarjad, hhaider646, RyokaL, nfishel48, GronThork and 12 more