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
Error: Missing resource instance key
on lb.tf line 42, in resource "azurerm_lb_backend_address_pool" "clients-lb-backend":
42: loadbalancer_id = "${var.associate_public_ip == true ? azurerm_lb.clients-public.id : azurerm_lb.clients.id}"
Because azurerm_lb.clients-public has "count" set, its attributes must be
accessed on specific instances.
For example, to correlate with indices of a referring resource, use:
azurerm_lb.clients-public[count.index]
Error: Missing resource instance key
on lb.tf line 42, in resource "azurerm_lb_backend_address_pool" "clients-lb-backend":
42: loadbalancer_id = "${var.associate_public_ip == true ? azurerm_lb.clients-public.id : azurerm_lb.clients.id}"
Because azurerm_lb.clients has "count" set, its attributes must be accessed on
specific instances.
For example, to correlate with indices of a referring resource, use:
azurerm_lb.clients[count.index]
Error: Missing resource instance key
on lb.tf line 53, in resource "azurerm_lb_probe" "clients-httpprobe":
53: loadbalancer_id = "${var.associate_public_ip == true ? azurerm_lb.clients-public.id : azurerm_lb.clients.id}"
Because azurerm_lb.clients-public has "count" set, its attributes must be
accessed on specific instances.
For example, to correlate with indices of a referring resource, use:
azurerm_lb.clients-public[count.index]
Error: Missing resource instance key
on lb.tf line 53, in resource "azurerm_lb_probe" "clients-httpprobe":
53: loadbalancer_id = "${var.associate_public_ip == true ? azurerm_lb.clients-public.id : azurerm_lb.clients.id}"
Because azurerm_lb.clients has "count" set, its attributes must be accessed on
specific instances.
For example, to correlate with indices of a referring resource, use:
azurerm_lb.clients[count.index]
Error: Missing required argument
on masters.tf line 50, in resource "azurerm_virtual_machine_scale_set" "master-nodes":
50: ip_configuration {
The argument "primary" is required, but no definition was found.
Error: Missing resource instance key
on single-node.tf line 57, in resource "azurerm_virtual_machine" "single-node":
57: network_interface_ids = ["${azurerm_network_interface.single-node.id}"]
Because azurerm_network_interface.single-node has "count" set, its attributes
must be accessed on specific instances.
For example, to correlate with indices of a referring resource, use:
azurerm_network_interface.single-node[count.index]
The text was updated successfully, but these errors were encountered:
Error: failed to render : <template_file>:9,39-59: Unknown variable; There is no variable named "azure_resource_group"., and 11 other diagnostic(s)
on datas.tf line 1, in data "template_file" "data_userdata_script":
1: data "template_file" "data_userdata_script" {
Error: failed to render : <template_file>:9,39-59: Unknown variable; There is no variable named "azure_resource_group"., and 11 other diagnostic(s)
on masters.tf line 1, in data "template_file" "master_userdata_script":
1: data "template_file" "master_userdata_script" {
count fixed by - "${element(azurerm_lb.clients.*.id, count.index}"
removed xpack and after adding
bootstrap_node = ""
aws_region = ""
cloud_provider = "azure"
masters_count = 1
able to create stack , get DNS and Public IP and username password but not accessible
current terraform code not able to count
getting error with terraform 1.12
The text was updated successfully, but these errors were encountered: