Skip to content

Instantly share code, notes, and snippets.

@ZinkNotTheMetal
Created August 25, 2025 13:21
Show Gist options
  • Select an option

  • Save ZinkNotTheMetal/a3d2ea863a648ea297ac8dbbcba9d5cb to your computer and use it in GitHub Desktop.

Select an option

Save ZinkNotTheMetal/a3d2ea863a648ea297ac8dbbcba9d5cb to your computer and use it in GitHub Desktop.
Terraform Output for terraform provider issue
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
- destroy
Terraform planned the following actions, but then encountered a problem:
# azurerm_monitor_diagnostic_setting.app_insights_storage_backup_setting will be destroyed
# (because azurerm_monitor_diagnostic_setting.app_insights_storage_backup_setting is not in configuration)
- resource "azurerm_monitor_diagnostic_setting" "app_insights_storage_backup_setting" {
- id = "/subscriptions/28e9195c-7e02-4d17-ad13-bd7347767a81/resourceGroups/rg-svh-emr-dev-westus3/providers/Microsoft.Insights/components/appi-svh-dev-westus3-001|appi-bak-blob-storage-dev" -> null
- name = "appi-bak-blob-storage-dev" -> null
- storage_account_id = "/subscriptions/28e9195c-7e02-4d17-ad13-bd7347767a81/resourceGroups/rg-svh-emr-dev-westus3/providers/Microsoft.Storage/storageAccounts/stappibaksvhemrdev001" -> null
- target_resource_id = "/subscriptions/28e9195c-7e02-4d17-ad13-bd7347767a81/resourceGroups/rg-svh-emr-dev-westus3/providers/Microsoft.Insights/components/appi-svh-dev-westus3-001" -> null
# (4 unchanged attributes hidden)
- enabled_log {
- category_group = "allLogs" -> null
# (1 unchanged attribute hidden)
- retention_policy {
- days = 0 -> null
- enabled = false -> null
}
}
- metric {
- category = "AllMetrics" -> null
- enabled = true -> null
- retention_policy {
- days = 0 -> null
- enabled = false -> null
}
}
}
Plan: 0 to add, 0 to change, 1 to destroy.
│ Warning: Failed to decode resource from state
│ Error decoding "azurerm_storage_account.app_insights_backup_account" from prior state: unsupported attribute "provisioned_billing_model_version"
│ Error: failed to decode identity: unsupported attribute "name". This is most likely a bug in the Provider, providers must not change the identity schema without updating the identity schema version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment