Repository navigation
Releases
Releases · docker-hardened-images/terraform-provider-dhi
v1.0.0
This release includes various fixes to dhi_customization, such as rejecting empty values and relative file and symlink paths.
Breaking Changes
dhi_customizationnow rejects empty values at plan time, with an error that says how to fix it. This also applies ondestroyandrefresh. Remove the field, or the empty value, to inherit it from the tag definition: @lukoboientrypointorcmdset to[], or containing an empty argument- An
environmentvariable with an empty value (environment = {}is still fine) - A
userorgroupinaccountswith an emptyname
- A relative
filepath,symlinkpath orsymlinksource is now rejected at plan time. These paths must be absolute paths that start with/. @lukoboi - Artifact
includesandexcludesare now sent exactly as written. The provider used to add a leading/to every path, solibwas stored as/lib. @lukoboi- A customization created with an earlier version shows a one-off in-place update on the next plan that takes the slash out (
/libbecomeslib). Apply it, or add the slash to the configuration to keep it.
- A customization created with an earlier version shows a one-off in-place update on the next plan that takes the slash out (
What's Changed
- The docs and examples now show
compression = "ZSTD"for several targets, and say which values can't be empty and that file paths are absolute. @lukoboi
v0.12.0
What's Changed
dhi_customizationcan now customize several tag definitions at once. Add atargetblock for each one, with itssource,destinationandtag_definition_id, instead of creating one customization per tag definition. @lukoboi- Adding or removing a
targetblock updates the customization in place, including going from several targets back to one. @lukoboi - Setting
source,destinationandtag_definition_idon the resource still works for a single target, so existing configurations don't change. @lukoboi - A Helm chart customization has exactly one target. Mixing image and Helm chart targets, or using several Helm charts, is rejected. @lukoboi
- Updates the README, docs and examples to explain targets, and adds an example for several targets. @lukoboi
v0.11.1
v0.11.0
v0.10.0
What's Changed
- Customizations now inherit from their tag definition instead of storing copies of its defaults. Leave a field out to inherit it, and set it to override it. Later changes to the tag definition reach your customization. @lukoboi
- terraform import now records only what the customization overrides, so a terraform plan after import shows no changes. @lukoboi
- Updates the README, docs and examples to explain inheritance and overriding. @lukoboi
v0.9.0
v0.8.1
v0.8.0
v0.7.0
What's Changed
- Adds example showing how to apply a shared customization baseline module across multiple images (golang and node), with image-agnostic values exposed by a baseline child module and per-image overrides set in the root module. @cdupuis
- Customizations now use the latest endpoint versions. Previous versions will be retired on 31 October, and new features will be available only in the latest versions. No breaking changes are expected as part of this upgrade. @AndreSilva1993