You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"error": {
"code": "ContainerAppsJobEnvironmentMismatch",
"message": "Container Apps Job 'container-app-name' already exists in a different environment. To create it in the environment '/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-rg/providers/Microsoft.App/managedEnvironments/container-app-name' delete it from the enviroment 'cae-a' first."
}
}
Expected behavior
Destroy Job on CAE A
Create Job on CAE B
The text was updated successfully, but these errors were encountered:
Currently the azapi provider doesn't support replacing resource when it is not able to update. For this case, please run terraform taint azapi_resource.{container app label}, then run terraform apply command and terraform destroy the container job before creating a new one.
Context
Resource details
azapi_resource
Microsoft.App/jobs@2023-05-01
Reproduce
body.properties.environmentId
to CAE BCurrent behavior
Expected behavior
The text was updated successfully, but these errors were encountered: