@@ -43,10 +43,17 @@ func TestExamplesComplete(t *testing.T) {
4343 compatible := terraform .Output (t , terraformOptions , "compatible" )
4444 assert .Equal (t , "true" , compatible )
4545
46+ expectedDescriptorAccountName := "bild-hrh"
47+ expectedDescriptorStack := "hrh-uat-bild"
4648 descriptorAccountName := terraform .Output (t , terraformOptions , "descriptor_account_name" )
4749 descriptorStack := terraform .Output (t , terraformOptions , "descriptor_stack" )
48- assert .Equal (t , "bild-hrh" , descriptorAccountName )
49- assert .Equal (t , "hrh-uat-bild" , descriptorStack )
50+ assert .Equal (t , expectedDescriptorAccountName , descriptorAccountName )
51+ assert .Equal (t , expectedDescriptorStack , descriptorStack )
52+
53+ chainedDescriptorAccountName := terraform .Output (t , terraformOptions , "chained_descriptor_account_name" )
54+ chainedDescriptorStack := terraform .Output (t , terraformOptions , "chained_descriptor_stack" )
55+ assert .Equal (t , descriptorAccountName , chainedDescriptorAccountName , "Chained module should output same descriptors" )
56+ assert .Equal (t , descriptorStack , chainedDescriptorStack , "Chained module should output same descriptors" )
5057
5158 expectedLabel1Context := NLContext {
5259 Enabled : true ,
0 commit comments