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
The postgres module behaves differently in terraform 0.11.14 and 0.12. Error and input posted below. This issue is peeled off of #16
Error
Error: Missing resource instance key
on .terraform\modules\demo_db\sjones-sot-terraform-azurerm-database-for-postgres-59b1e13\postgres.tf line 10, in resource "azurerm_postgresql_server" "postgresql_server": 10: resource_group_name = "${var.resource_group_name == "" ? azurerm_resource_group.resource_group.name : var.resource_group_name}"
Because azurerm_resource_group.resource_group has "count" set, its attributes
must be accessed on specific instances.
For example, to correlate with indices of a referring resource, use:
azurerm_resource_group.resource_group[count.index]
The postgres module behaves differently in terraform 0.11.14 and 0.12. Error and input posted below. This issue is peeled off of #16
Error
Input
The text was updated successfully, but these errors were encountered: