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
When display_name is changed, terraform apply should NOT fail.
Actual Behaviour
When display_name is changed, terraform apply FAILS.
Plan
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
# azurerm_application_insights_workbook.main will be updated in-place
~ resource "azurerm_application_insights_workbook" "main" {
~ display_name = "workbook1" -> "workbook1-chage"
id = "REDACRED"
name = "96c11918-506e-4bae-974b-5f2dc44398f7"
tags = {
"ENV" = "Test"
}
# (5 unchanged attributes hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
Actual apply
│ Error: updating Workbook (Subscription: "REDACRED"
│ Resource Group Name: "REDACRED"
│ Workbook Name: "96c11918-506e-4bae-974b-5f2dc44398f7"): unexpected status 400 with error: BadRequest: Invalid hidden-title tag: 'workbook1', expecting hidden-title to be the same as properties.displayName: 'workbook1-chage'
│
│ with azurerm_application_insights_workbook.main,
│ on main.tf line 8, in resource "azurerm_application_insights_workbook" "main":
│ 8: resource "azurerm_application_insights_workbook" "main" {
│
│ updating Workbook (Subscription: "REDACRED"
│ Resource Group Name: "REDACRED"
│ Workbook Name: "96c11918-506e-4bae-974b-5f2dc44398f7"): unexpected status 400 with error: BadRequest: Invalid hidden-title tag: 'workbook1', expecting hidden-title to be the same as properties.displayName:
│ 'workbook1-chage
Trying to change hidden-title tags via tags
...
display_name = "workbook1-chage"
...
tags = {
ENV = "Test",
"hidden-title" = "workbook1-chage",
}
# plan fails
Error: a tag with the key `hidden-title` should not be used to set the display name. Please Use `display_name` instead
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Is there an existing issue for this?
Community Note
Terraform Version
1.3.7
AzureRM Provider Version
3.60.0
Affected Resource(s)/Data Source(s)
azurerm_application_insights_workbook
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
When display_name is changed, terraform apply should NOT fail.
Actual Behaviour
When display_name is changed, terraform apply FAILS.
Plan
Actual apply
Trying to change
hidden-title
tags via tagsChanging display_name tag:
Plan
Plan/Apply is OK
Changing both display name and tag together
Plan/Apply is OK
Steps to Reproduce
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: