resource "test_instance" "a" { subnet_ids = ["boop"] # this attribute takes a set of strings } output "b" { value = element(tolist(test_instance.a.subnet_ids), 0) }