Add parent object and child array as outputs to all modules
Open
blocked
enhancement
- Dominant language
- PowerShell
- Stars
- 737
- Forks
- 436
- Avg merge
- 10d 7h
- Merged PRs (30d)
- 1
Description
## Description
Output values should return info about parents and children, allowing for outputs something like
- deployedResource.parent.resourceGroup.name
- deployedResource.parent.subscription.id
- deployedResource.fileShares[0].name
Suggestion on parent
``` bicep
output parent object = {
'resourceGroup': resourceGroup()
'subscription' : subscription()
//'managementGroup' : managementGroup() // Depending on the scope
//'tenant' : tenant()
}
```
Suggestion on children:
``` bicep
@description('A list of all the objects.')
output array = ::
```
Contributor guide
Assessment
This issue has not been assessed yet.