fix context: Set sub resource names correctly

This commit is contained in:
Vincent Ambo 2017-02-08 17:21:55 +01:00
parent 4e8223ef34
commit bace4dd895

View file

@ -80,6 +80,7 @@ func flattenResourceSetCollections(rs *[]ResourceSet) *[]ResourceSet {
} else {
for _, subResourceSet := range r.Include {
subResourceSet.Parent = &r.Name
subResourceSet.Name = path.Join(r.Name, subResourceSet.Name)
flattened = append(flattened, subResourceSet)
}
}