Merge pull request #11762 from hashicorp/b-gh-11681

docs: add 1.2.0 HCLv2 strict parsing upgrade note.
This commit is contained in:
James Rasell 2022-01-04 09:30:09 +01:00 committed by GitHub
commit 1f4e100edc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 0 deletions

View File

@ -48,6 +48,20 @@ order to access a job details page.
This was an unintended change and will be fixed in a future release.
#### HCLv2 Job Specification Parsing
In previous versions of Nomad, when rendering a job specification using override
variables, a warning would be returned if a variable within an override file
was declared that was not found within the job specification. This behaviour
differed from passing variables via the `-var` flag, which would always cause an
error in the same situation.
Nomad 1.2.0 fixed the behaviour consistency to always return an error by default,
where an override variable was specified which was not a known variable within the
job specification. In order to mitigate this change for users who wish to only
be warned when this situation arises, the `-hcl-strict=false` flag can be
specified.
## Nomad 1.0.11 and 1.1.5 Enterprise
#### Audit log file names