@@ -43,10 +43,17 @@ func TestExamplesComplete(t *testing.T) {
43
43
compatible := terraform .Output (t , terraformOptions , "compatible" )
44
44
assert .Equal (t , "true" , compatible )
45
45
46
+ expectedDescriptorAccountName := "bild-hrh"
47
+ expectedDescriptorStack := "hrh-uat-bild"
46
48
descriptorAccountName := terraform .Output (t , terraformOptions , "descriptor_account_name" )
47
49
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" )
50
57
51
58
expectedLabel1Context := NLContext {
52
59
Enabled : true ,
0 commit comments