azure-consul icon indicating copy to clipboard operation
azure-consul copied to clipboard

Terraform 0.12

Open krital opened this issue 6 years ago • 2 comments

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?

krital avatar May 29 '19 18:05 krital

Same problem.

senabd avatar Jun 26 '19 13:06 senabd

Can you look at pull request #6 and see if you run into issues? I tested the muti-region but haven't had a chance to test the single region.

patrickhuber avatar Oct 01 '19 19:10 patrickhuber