Error in rundeck
Error: Unsupported attribute
19:38:36 │
19:38:36 │ on .terraform/modules/apiary-federation/ouputs.tf line 2, in output “waggle_dance_load_balancers”:
19:38:36 │ 2: value = var.wd_instance_type == “k8s” ? kubernetes_service.waggle_dance[0].status.0.load_balancer.0.ingress.*.hostname : (var.wd_instance_type == “ecs” && var.enable_autoscaling ? [aws_lb.waggledance[0].dns_name] : )
19:38:36 │
19:38:36 │ This object has no argument, nested block, or exported attribute named
19:38:36 │ “status”.
CODE BASE >>
output “waggle_dance_load_balancers” {
value = var.wd_instance_type == “k8s” ? kubernetes_service.waggle_dance[0].status.0.load_balancer.0.ingress.*.hostname : (var.wd_instance_type == “ecs” && var.enable_autoscaling ? [aws_lb.waggledance[0].dns_name] : )
}
I do not see status variable anywhere in my code . Where does this coming from. I am ne w to this terraform & the code is alredy existing.