-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Azure App configuration FF creation with "Provider produced inconsistent result after apply" #26025
Comments
Hi @dsczltch, thanks for submitting this. This should be caused by distributed API Azure/AppConfiguration#763, in azurerm provider we have added wait logic to wait for 2 continues terraform-provider-azurerm/internal/services/appconfiguration/app_configuration_feature_resource.go Lines 309 to 317 in 343bf36
As a ad-hoc fix for the error, you may also use terraform import to import these created app conf features.
|
Hi @teowa, thank you for your answer. |
Thank you @teowa, I am not sure the change will fix this bug but we will try this new version of the provider once it's available. |
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. |
Is there an existing issue for this?
Community Note
Terraform Version
1.8.3
AzureRM Provider Version
3.43.0
Affected Resource(s)/Data Source(s)
azurerm_app_configuration_feature
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
Feature flags in Azure App Configuration should be created.
Actual Behaviour
Feature flags are created but it looks like there is a bug in the provider where terraform does not process completely the creation and cannot add the created resource into the state file ; which cause a new apply to failed due to Feature flags already existing.
Steps to Reproduce
terraform init
terraform plan
terraform apply
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: