-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
EnableAnalyticalStorage capabilities not detected in resource azurerm_cosmosdb_account #9119
Comments
If you output the result of the data source, does it also outputs the "EnableAnalyticalStorage" capability?
Assumably as it is this new the return is not properly implemented. |
It is not declared in the list of capabilities either in the property during my plan. In the ARM export in the portal, this capability(enableAnalyticalStorage) is declared as a property and not in the capabilities list |
@Philippe-Padok I'm trying to look into this, but API gives me
Did the creation snippet of terraform ever work for you? Cause as you say, it seems to be a property, hence I'm not sure how this could ever work at all.. |
Nevermind, I see it now. Rewriting how it should be + a test. |
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks! |
Community Note
Description
When the EnableAnalyticalStorage capability is already added to your azurerm_cosmosdb_account. Terraform plan doesn't detect it and try to recreate the resource with the capability enabled during the plan.
Affected Resource(s)
azurerm_cosmosdb_account
Terraform Configuration Files
Plan Output
Expected Behavior
Terraform plan should have detected the already activated capability
Actual Behavior
Terraform want to recreate the complete resource to activate the capability
Steps to Reproduce
terraform plan
Important Factoids
The last update (2.34) give us control to enable the capability you can find the link to the PR below
#9010
The text was updated successfully, but these errors were encountered: