hashicorp / hashicorp/nomad-pack

Enable setting an object element's value from the override file

Open
#435 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.