fix context: Set sub resource names correctly
This commit is contained in:
parent
4e8223ef34
commit
bace4dd895
1 changed files with 1 additions and 0 deletions
|
@ -80,6 +80,7 @@ func flattenResourceSetCollections(rs *[]ResourceSet) *[]ResourceSet {
|
||||||
} else {
|
} else {
|
||||||
for _, subResourceSet := range r.Include {
|
for _, subResourceSet := range r.Include {
|
||||||
subResourceSet.Parent = &r.Name
|
subResourceSet.Parent = &r.Name
|
||||||
|
subResourceSet.Name = path.Join(r.Name, subResourceSet.Name)
|
||||||
flattened = append(flattened, subResourceSet)
|
flattened = append(flattened, subResourceSet)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue