github.com/rstandt/terraform@v0.12.32-0.20230710220336-b1063613405c/configs/configupgrade/testdata/valid/element-of-set/want/element-of-set.tf (about)

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