Previously the sub-command packer-sdc mapstructure-to-hcl would ignore duplicate fields in the generated HCL schema file, which sometimes resulted in configuration input attributes being removed from the schema. The command has been updated to error, as opposed to warn, when a duplicate possible conflicting mapstructure field is found to aid plugin developers. We've marked this release a minor release because the new behavior may be breaking to some plugin components. Any new reported conflicting input attributed should be rename or consolidated if possible. GH-164
multistep/commonsteps: Add default timeouts to the GitGetter, HgGetter,
S3Getter, and GcsGetter getters to mitigate against resource exhaustion
when calling out to external command line applications.
multistep/commonsteps: Disable support for the X-Terraform-Get header to
mitigate against protocol switching, endless redirect, and configuration
bypass abuse of custom HTTP response header processing.
multistep/commonsteps: Update settings for the default go-getter client to
prevent arbitrary host access via go-getter's path traversal, symlink
processing, and command injection flaws.
sdk: Bump github.com/hashicorp/go-getter/v2, github.com/hashicorp/go-
getter/gcs/v2, github.com/hashicorp/go-getter/s3/v2 to address a number of
security vulnerabilities as defined in
HCSEC-2022-13
0.2.13 (May 11, 2022)
cmd/packer-sdc: Update golang.org/x/tools to fix internal package errors when
running code generation commands with Go 1.18
GH-108
0.2.12 (May 03, 2022)
provisioner/shell-local: Add env argument to pass env vars through a key
value store GH-98
provisioner/shell: Add env argument to pass env vars through a key value
store GH-98
sdk: Bump github.com/hashicorp/go-getter/v2 to v2.0.2
GH-102
sdk: Bump github.com/hashicorp/hcl/v2 to v2.12.0
GH-106
sdk: Update crypto/ssh pkg used by SSH communicator The existing ssh client
used by the SSH communicator was relying on legacy key algorithms and could
not connect to recent versions of openssh, or servers with a limited set of
fips approved algorithms. GH-107
0.2.11 (December 17, 2021)
sdk: The SourceImageID field for registry/image.Image is now optional;
calling Image#Validate will nolonger error if SourceImageID is empty.
GH-90
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps github.com/hashicorp/packer-plugin-sdk from 0.2.3 to 0.4.0.
Release notes
Sourced from github.com/hashicorp/packer-plugin-sdk's releases.
... (truncated)
Changelog
Sourced from github.com/hashicorp/packer-plugin-sdk's changelog.
... (truncated)
Commits
75fe363
cut release v0.4.0ba0cbeb
Add test to runner for Darwin Osa11399a
Remove circle-ci jobs in favor of GHAac3abdc
Use login user name when available62bcc50
Update golang.org/x/net to address GO-2023-1571d160ce0
packer-sdc: return errors on duplicate tag/fielde2f3241
Remove Go 1.19 from test matrix47e77fe
Update go generate with Go 1.18e5ba35c
Remove directory from matrixdcc669e
Update generated filesDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)