Open akomlik opened 6 years ago
Having a similar issue ; it's not accepting my sub-net ID. though mine says "invalid URI for request.".
I ended up making my own module based on this since I needed to support multiple AZ's, added boot diagnostics to see console output, extended linux monitoring to see file sytem space, memory, etc.
Oh cool, I'll check it out. My issue was more of a face-palm though. It turned out that I was trying to use an existing sub-net so I actually had to use a data source to query the existing one's ID (which is a URL) rather than just give the name. Just started with Terraform yesterday, so still learning.
Thanks so much for the info & link.
Trying to run terraform against your own example and getting an error:
$ terraform init -v
Terraform v0.11.7
+ provider.azurerm v1.9.0
+ provider.template v1.0.0
$ terraform plan
Error: module.loadbalancer.azurerm_lb.azlb: Can not parse "frontend_ip_configuration.0.subnet_id" as a resource id: Cannot parse Azure ID: parse : empty url
This used to work month ago. Has there been Azure API change that broke it?