hashicorp / hashicorp/nomad-pack
Enable setting an object element's value from the override file
Open
hcc/jira
stage/accepted
theme/template/variable
type/enhancement
- Dominant language
- Go
- Stars
- 447
- Forks
- 65
- PR merge metrics
- No merged PRs in 30d
Description
Currently, there is no way to directly set a field inside of an object type variable. That is to say, any time a pack user wants to override a field in an object they must provide the entire object value.
```golang
// NOTE: This implementation assumes a single element variable value,
// which specifically breaks setting a sub-element value. The more
// correct way is to perform the traversal based on the provided root
// pack
```
Contributor guide
Assessment
This issue has not been assessed yet.