Expected application_type to be one of [web other java MobileCenter phone store ios Node.JS], got Web

Previous Terraform Version : 0.13.0
AzureRM Version : 2.13.0

New Version Terraform : 0.14.0
AzureRM Version : 2.13.0

Affected Resource(s) :
azurerm_application_insights

When we upgraded to version 0.14.0 of Terraform we get the following error:
“Expected application_type to be one of [web other java MobileCenter phone store ios Node.JS], got Web.”

We know it is case sensitive but our environment is already set “Web”.

I read this issue since it was the same issue we are running into:

#6259

We do have the following code set: but it seems to have no effect:
lifecycle {
ignore_changes = [
application_type
]
}

We still get the same error. This is blocking us. How can we resolve this issue? Thank you in advance.

I found out that it was the version we were using.

Upgraded to 0.14.7 and now we are unblock. Thank you.

1 Like