-
Notifications
You must be signed in to change notification settings - Fork 5k
Closed
Milestone
Description
Is there an existing issue for this?
- I have searched the existing issues
Community Note
- 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
1.5.7
AzureRM Provider Version
3.65.0
Affected Resource(s)/Data Source(s)
azurerm_app_configuration_key, azurerm_app_configuration_feature
Terraform Configuration Files
resource "azurerm_resource_group" "rg" {
name = "example-resources"
location = "West Europe"
}
resource "azurerm_app_configuration" "appconf" {
name = "appconfig-dev"
resource_group_name = azurerm_resource_group.rg.name
location = azurerm_resource_group.rg.location
}
resource "azurerm_app_configuration_feature" "my_feature" {
configuration_store_id = azurerm_app_configuration.appconf.id
name = "MY_FEATURE"
enabled = true
}
resource "azurerm_app_configuration_key" "my_config_value" {
configuration_store_id = azurerm_app_configuration.appconf.id
key = "myConfigValue"
value = "myValue"
content_type = "text/plain"
}Debug Output/Panic Output
-Expected Behaviour
No changes / no replacement
Actual Behaviour
Exemplary for the feature:
# module.appConfiguration.azurerm_app_configuration_feature.my_feature must be replaced
-/+ resource "azurerm_app_configuration_feature" "my_feature" {
~ configuration_store_id = "/subscriptions/119e2ef8-9ef5-4566-b9e5-0062312e0f1c/resourceGroups/dev/providers/Microsoft.AppConfiguration/configurationStores/appconfig-dev" -> "/subscriptions/119e2ef8-9ef5-4566-b9e5-0062312e0f1c/resourceGroups/DEV/providers/Microsoft.AppConfiguration/configurationStores/appconfig-dev" # forces replacement
+ etag = (known after apply)
~ id = "https://appconfig-dev.azconfig.io/kv/.appconfig.featureflag%2FMY_FEATURE?label=" -> (known after apply)
~ key = "MY_FEATURE" -> (known after apply)
name = "MY_FEATURE"
- percentage_filter_value = 0 -> null
- tags = {} -> null
# (2 unchanged attributes hidden)
}
Steps to Reproduce
- Create resources in a resource group with an uppercase resource group name
- Execute
terraform apply - Execute
terraform applyagain
Important Factoids
No response
References
No response
Reactions are currently unavailable