You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we upgraded from 1.4 to 1.7 of the provider, the ip_range_filter value started throwing the error below. We tried reverting to version 1.6 but still got the same error. Had to revert to 1.4 for it to create successfully again:
Error: azurerm_cosmosdb_account.cdb: invalid value for ip_range_filter (Cosmos DB ip_range_filter must be a set of CIDR IP addresses separated by commas with no spaces: '10.0.0.1,10.0.0.2')
Steps to Reproduce
Run terraform -plan with config using azurerm provider 1.6 or 1.7
The text was updated successfully, but these errors were encountered:
What is the value you are passing into the ip_range_filter? is ${var.vnet_address_space} potentially empty some of the time leading to an empty element in the comma separated list?
@katbyte the value is 10.20.0.0/16. It is defined in my variables.tf file. I can literally put the line version = "1.4.0" in my main.tf and it works fine. Change that to version = "1.6.0" or version = "1.7.0", run terraform init, and now terraform plan fails with the error I indicated.
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 👉 [email protected]. Thanks!
ghost
locked and limited conversation to collaborators
Mar 30, 2020
Terraform Version
Terraform v0.11.7
provider.azurerm v1.4.0
Affected Resource(s)
azurerm_cosmosdb_account
Terraform Configuration Files
Expected Behavior
The resource creates successfully
Actual Behavior
When we upgraded from 1.4 to 1.7 of the provider, the ip_range_filter value started throwing the error below. We tried reverting to version 1.6 but still got the same error. Had to revert to 1.4 for it to create successfully again:
Steps to Reproduce
Run terraform -plan with config using azurerm provider 1.6 or 1.7
The text was updated successfully, but these errors were encountered: