Ricky Fontaine
10/15/2025, 8:32 PMjoin function in atmos. I am creating a Kubernetes ingress and want an annotation like
alb.ingress.kubernetes.io/subnets: subnet1, subnet2, subnet3
using the Terraform output function. I'm trying something like:
alb.ingress.kubernetes.io/subnets: !terraform.output vpc plat-ue1-prod ".public_subnet_ids[] | join("","")" but haven't gotten it to work. I've also tried something like '.public_subnet_ids[] | join(",")' but that doesn't work either.
Has anyone here successfully joined an array through the !terraform.output function? Let me know if you want more infoAndriy Knysh (Cloud Posse)
10/15/2025, 8:43 PM'.public_subnet_ids | join(",")'Andriy Knysh (Cloud Posse)
10/15/2025, 8:44 PM[])Ricky Fontaine
10/15/2025, 8:54 PMparse error on line 1, column 46: bare " in non-quoted-fieldAndriy Knysh (Cloud Posse)
10/15/2025, 8:59 PMAndriy Knysh (Cloud Posse)
10/15/2025, 8:59 PMRicky Fontaine
10/15/2025, 8:59 PM".public_subnet_ids | join("", "")"Ricky Fontaine
10/15/2025, 8:59 PMAndriy Knysh (Cloud Posse)
10/15/2025, 9:00 PM'.public_subnet_ids | join(",")'Ricky Fontaine
10/15/2025, 9:00 PMAndriy Knysh (Cloud Posse)
10/15/2025, 9:03 PM!terraform.output, it's 10x faster