I have just tried to follow the readme but it seems that terraform 0.12 final is out which has breaking changes. I tried running the 012Upgrade command to migrate everything to the new format and it seemed to work, until I tried running terraform plan. I then get the following:
Error: Invalid value for module argument
on main.tf line 37, in module "consul_azure_westeurope":
37: private_subnet_ids = [module.network_westeurope.subnet_private_ids]
The given value is not suitable for child module variable "private_subnet_ids"
defined at ../modules/consul-azure/_interface.tf:30,1-30: element 0: string
required.
I am a beginner in terraform but does this mean that the variable contains an array of subnet ids while the variable expects a single string? Anyone have any other ideas?
I have just tried to follow the readme but it seems that terraform 0.12 final is out which has breaking changes. I tried running the 012Upgrade command to migrate everything to the new format and it seemed to work, until I tried running terraform plan. I then get the following:
Error: Invalid value for module argument
on main.tf line 37, in module "consul_azure_westeurope": 37: private_subnet_ids = [module.network_westeurope.subnet_private_ids]
The given value is not suitable for child module variable "private_subnet_ids" defined at ../modules/consul-azure/_interface.tf:30,1-30: element 0: string required.
I am a beginner in terraform but does this mean that the variable contains an array of subnet ids while the variable expects a single string? Anyone have any other ideas?