@@ -2115,6 +2115,7 @@ func TestResourceChange_map(t *testing.T) {
21152115 "ami" : cty .StringVal ("ami-STATIC" ),
21162116 "map_field" : cty .MapVal (map [string ]cty.Value {
21172117 "new-key" : cty .StringVal ("new-element" ),
2118+ "be:ep" : cty .StringVal ("boop" ),
21182119 }),
21192120 }),
21202121 Schema : & configschema.Block {
@@ -2129,6 +2130,7 @@ func TestResourceChange_map(t *testing.T) {
21292130 ~ resource "test_instance" "example" {
21302131 ~ id = "i-02ae66f368e8518a9" -> (known after apply)
21312132 + map_field = {
2133+ + "be:ep" = "boop"
21322134 + "new-key" = "new-element"
21332135 }
21342136 # (1 unchanged attribute hidden)
@@ -2148,6 +2150,7 @@ func TestResourceChange_map(t *testing.T) {
21482150 "ami" : cty .StringVal ("ami-STATIC" ),
21492151 "map_field" : cty .MapVal (map [string ]cty.Value {
21502152 "new-key" : cty .StringVal ("new-element" ),
2153+ "be:ep" : cty .StringVal ("boop" ),
21512154 }),
21522155 }),
21532156 Schema : & configschema.Block {
@@ -2162,6 +2165,7 @@ func TestResourceChange_map(t *testing.T) {
21622165 ~ resource "test_instance" "example" {
21632166 ~ id = "i-02ae66f368e8518a9" -> (known after apply)
21642167 ~ map_field = {
2168+ + "be:ep" = "boop"
21652169 + "new-key" = "new-element"
21662170 }
21672171 # (1 unchanged attribute hidden)
@@ -2183,9 +2187,10 @@ func TestResourceChange_map(t *testing.T) {
21832187 "id" : cty .UnknownVal (cty .String ),
21842188 "ami" : cty .StringVal ("ami-STATIC" ),
21852189 "map_field" : cty .MapVal (map [string ]cty.Value {
2186- "a" : cty .StringVal ("aaaa" ),
2187- "b" : cty .StringVal ("bbbb" ),
2188- "c" : cty .StringVal ("cccc" ),
2190+ "a" : cty .StringVal ("aaaa" ),
2191+ "b" : cty .StringVal ("bbbb" ),
2192+ "b:b" : cty .StringVal ("bbbb" ),
2193+ "c" : cty .StringVal ("cccc" ),
21892194 }),
21902195 }),
21912196 Schema : & configschema.Block {
@@ -2200,7 +2205,8 @@ func TestResourceChange_map(t *testing.T) {
22002205 ~ resource "test_instance" "example" {
22012206 ~ id = "i-02ae66f368e8518a9" -> (known after apply)
22022207 ~ map_field = {
2203- + "b" = "bbbb"
2208+ + "b" = "bbbb"
2209+ + "b:b" = "bbbb"
22042210 # (2 unchanged elements hidden)
22052211 }
22062212 # (1 unchanged attribute hidden)
0 commit comments