-
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
Inconsistent final plan with azurerm_mssql_database_vulnerability_assessment_rule_baseline #16139
Comments
@katbyte glad to hear that this has already been fixed. I removed my workaround and can confirm that the fix is working as expected. |
@katbyte I just encountered this issue again with azurerm provider version
During the first Edit: Since this happened exactly the same in two environments, I think I now know what happens: When the vulnerability assessment is updated during the same |
Community Note
Terraform (and AzureRM Provider) Version
Affected Resource(s)
azurerm_mssql_database_vulnerability_assessment_rule_baseline
Terraform Configuration Files
Expected Behaviour
Terraform should be able to deploy two baselines without running into an error.
Actual Behaviour
Terraform tried to deploy the two baselines simultaneously after the vulnerability assessment they belong to was created, with one failing because of an inconsistent final plan (missing root element).
Steps to Reproduce
terraform apply
with two azurerm_mssql_database_vulnerability_assessment_rule_baseline resources. A few tries might be needed to trigger the issue, so far I just encountered it once.The text was updated successfully, but these errors were encountered: