github.com/rstandt/terraform@v0.12.32-0.20230710220336-b1063613405c/configs/configupgrade/testdata/valid/block-as-list-dynamic-nested/want/block-as-list-dynamic-nested.tf (about) 1 resource "test_instance" "foo" { 2 network { 3 dynamic "subnet" { 4 for_each = var.baz 5 content { 6 # TF-UPGRADE-TODO: The automatic upgrade tool can't predict 7 # which keys might be set in maps assigned here, so it has 8 # produced a comprehensive set here. Consider simplifying 9 # this after confirming which keys can be set in practice. 10 11 number = subnet.value.number 12 } 13 } 14 } 15 }