@@ -25,27 +25,35 @@ func TestExamplesComplete(t *testing.T) {
2525
2626 // Run `terraform output` to get the value of an output variable
2727 label1 := terraform .OutputMap (t , terraformOptions , "label1" )
28+ label1Tags := terraform .OutputMap (t , terraformOptions , "label1_tags" )
2829
2930 // Verify we're getting back the outputs we expect
3031 assert .Equal (t , "winstonchurchroom-uat-build-fire-water-earth-air" , label1 ["id" ])
32+ assert .Equal (t , "winstonchurchroom-uat-build-fire-water-earth-air" , label1Tags ["Name" ])
3133
3234 // Run `terraform output` to get the value of an output variable
3335 label2 := terraform .OutputMap (t , terraformOptions , "label2" )
36+ label2Tags := terraform .OutputMap (t , terraformOptions , "label2_tags" )
3437
3538 // Verify we're getting back the outputs we expect
3639 assert .Equal (t , "charlie+uat+test+fire+water+earth+air" , label2 ["id" ])
40+ assert .Equal (t , "charlie+uat+test+fire+water+earth+air" , label2Tags ["Name" ])
3741
3842 // Run `terraform output` to get the value of an output variable
3943 label3 := terraform .OutputMap (t , terraformOptions , "label3" )
44+ label3Tags := terraform .OutputMap (t , terraformOptions , "label3_tags" )
4045
4146 // Verify we're getting back the outputs we expect
4247 assert .Equal (t , "starfish.uat.release.fire.water.earth.air" , label3 ["id" ])
48+ assert .Equal (t , "starfish.uat.release.fire.water.earth.air" , label3Tags ["Name" ])
4349
4450 // Run `terraform output` to get the value of an output variable
4551 label4 := terraform .OutputMap (t , terraformOptions , "label4" )
52+ label4Tags := terraform .OutputMap (t , terraformOptions , "label4_tags" )
4653
4754 // Verify we're getting back the outputs we expect
4855 assert .Equal (t , "cloudposse-uat-big-fat-honking-cluster" , label4 ["id" ])
56+ assert .Equal (t , "cloudposse-uat-big-fat-honking-cluster" , label4Tags ["Name" ])
4957
5058 // Run `terraform output` to get the value of an output variable
5159 label5 := terraform .OutputMap (t , terraformOptions , "label5" )
0 commit comments