NOTES:
- all: This release introduces no functional changes. It does however include dependency updates which address upstream CVEs. (#604)
NOTES:
- resource/random_pet: Results have been updated to the latest upstream petname data (#581)
BUG FIXES:
- all: Prevent
keepers
from triggering an in-place update following import (#385) - resource/random_shuffle: Prevent inconsistent result after apply when result_count is set to 0 (#409)
- provider/random_password: Fix bug which causes panic when special, upper, lower and number/numeric are all false (#551)
- provider/random_string: Fix bug which causes panic when special, upper, lower and number/numeric are all false (#551)
FEATURES:
- resource/random_bytes: New resource that generates an array of random bytes intended to be used as key or secret (#272)
BUG FIXES:
- resource/random_password: Prevent error with
bcrypt
by truncating the bytes that are hashed to a maximum length of 72 (#397)
NOTES:
- This Go module has been updated to Go 1.19 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#378)
NOTES:
- resource/random_password: The values for
lower
,number
,special
,upper
,min_lower
,min_numeric
,min_special
,min_upper
andlength
could be null if the resource was imported using version 3.3.1 or before. The value forlength
will be automatically calculated and assigned and default values will be assigned for the other attributes listed after this upgrade (#313) - resource/random_string: The values for
lower
,number
,special
,upper
,min_lower
,min_numeric
,min_special
,min_upper
andlength
could be null if the resource was imported using version 3.3.1 or before. The value forlength
will be automatically calculated and assigned and default values will be assigned for the other attributes listed after this upgrade (#313) - resource/random_password: If the resource was created between versions 3.4.0 and 3.4.2, the
bcrypt_hash
value would not correctly verify against theresult
value. Affected resources will automatically regenerate a validbcrypt_hash
after this upgrade. (#308) - resource/random_password: The
override_special
attribute may show a plan difference from empty string (""
) tonull
if previously applied with version 3.4.2. The plan should show this as an in-place update and it should occur only once after upgrading. (#312) - resource/random_string: The
override_special
attribute may show a plan difference from empty string (""
) tonull
if previously applied with version 3.4.2. The plan should show this as an in-place update and it should occur only once after upgrading. (#312)
BUG FIXES:
- resource/random_password: Assign default values to
lower
,number
,special
,upper
,min_lower
,min_numeric
,min_special
andmin_upper
if null. Assign length ofresult
tolength
if null (#313) - resource/random_string: Assign default values to
lower
,number
,special
,upper
,min_lower
,min_numeric
,min_special
andmin_upper
if null. Assign length ofresult
tolength
if null (#313) - resource/random_password: Fixed incorrect
bcrypt_hash
generation since version 3.4.0 (#308) - resource/random_password: Prevented difference with
override_special
when upgrading from version 3.3.2 and earlier (#312) - resource/random_string: Prevented difference with
override_special
when upgrading from version 3.3.2 and earlier (#312)
BUG FIXES:
- all: Prevent
keeper
withnull
values from forcing replacement (305). - resource/random_password: During upgrade state, ensure
min_upper
is populated (304). - resource/random_string: During upgrade state, ensure
min_upper
is populated (304).
BUG FIXES:
- resource/random_password: During attribute plan modifier, only return error if
number
andnumeric
are both present and do not match (301). - resource/random_string: During attribute plan modifier, only return error if
number
andnumeric
are both present and do not match (301).
NOTES:
- Provider has been re-written using the new
terraform-plugin-framework
(#177). - resource/random_password:
number
was deprecated in v3.3.0 and will be removed in the next major release. - resource/random_string:
number
was deprecated in v3.3.0 and will be removed in the next major release.
BUG FIXES:
- resource/random_password: When importing set defaults for all attributes that have a default defined (256).
- resource/random_string: When importing set defaults for all attributes that have a default defined (256).
BUG FIXES:
- resource/random_password: During schema upgrade, copy value of attribute
number
to attributenumeric
, only if said value is a boolean (i.e. notnull
) (262) - resource/random_string: During schema upgrade, copy value of attribute
number
to attributenumeric
, only if said value is a boolean (i.e. notnull
) (262)
ENHANCEMENTS:
- resource/random_password:
number
is now deprecated andnumeric
has been added to align attribute naming.number
will be removed in the next major release (#258). - resource/random_string:
number
is now deprecated andnumeric
has been added to align attribute naming.number
will be removed in the next major release (#258).
NEW FEATURES:
NOTES:
- Adds or updates DESIGN.md, README.md, CONTRIBUTING.md and SUPPORT.md docs (176, 235, 242).
- Removes usage of deprecated fields, types and functions (243, 244).
- Tests all minor Terraform versions (238, 241)
- Switches to linting with golangci-lint (237, 240).
BUG FIXES:
- resource/random_password: Prevent crash when length is less than 0 (#129, #181, #200, #233).
- resource/random_string: Prevent crash when length is less than 0 (#129, #181, #200, #233).
- resource/random_password: Prevent confusing inconsistent result error when length is 0 (#222, #233).
- resource/random_string: Prevent confusing inconsistent result error when length is 0 (#222, #233).
BUG FIXES:
- resource/random_pet: Prevented deterministic results since 3.1.1 (#217.
NOTES:
- Updated terraform-plugin-docs to
v0.7.0
: this improves generated documentation, with attributes now correctly formatted ascode
and provided with anchors. - Functionally identical to the previous 3.1.0 release.
Binary releases of this provider now include the darwin-arm64 platform. This version contains no further changes.
BUG FIXES:
resource_integer
: Integers in state that do not cleanly fit into float64s no longer lose their precision (#132)
Binary releases of this provider will now include the linux-arm64 platform.
BREAKING CHANGES:
- Upgrade to version 2 of the Terraform Plugin SDK, which drops support for Terraform 0.11. This provider will continue to work as expected for users of Terraform 0.11, which will not download the new version. (#118)
- Remove deprecated
b64
attribute (#118)
NOTES: This version is identical to v2.3.0, but has been compiled using Go v1.14.5 to fix #120.
NOTES:
- The provider now uses the binary driver for acceptance tests (#99)
NEW FEATURES:
- Added import handling for
random_string
andrandom_password
(#104)
NOTES:
- The provider has switched to the standalone TF SDK, there should be no noticeable impact on compatibility. (#76)
NEW FEATURES:
random_password
is similar torandom_string
but is marked sensitive for logs and output [#52]
- This release includes another Terraform SDK upgrade intended to align with that being used for other providers as we prepare for the Core v0.12.0 release. It should have no significant changes in behavior for this provider.
- This release includes only a Terraform SDK upgrade intended to align with that being used for other providers as we prepare for the Core v0.12.0 release. It should have no significant changes in behavior for this provider.
IMPROVEMENTS:
- The provider is now compatible with Terraform v0.12, while retaining compatibility with prior versions.
BACKWARDS INCOMPATIBILITIES / NOTES:
random_string
: set the ID for random_string resources to "none". Any terraform configuration referring torandom_string.foo.id
will need to be updated to referencerandom_string.foo.result
(#17)
NEW FEATURES:
random_uuid
generates random uuid string that is intended to be used as unique identifiers for other resources (#38)
BUG FIXES:
- Use UnixNano() instead of Unix() for the current time seed in NewRand() (#27)
random_shuffle
: ifrandom_shuffle
is given an empty list, it will return an empty list
IMPROVEMENTS:
- Replace ReadPet function in
resource_pet
with schema.Noop (#34)
BUG FIXES:
- Add migration and new schema version for
resource_string
(#29)
BUG FIXES:
random_integer
now supports update (#25)
IMPROVEMENTS:
- Add optional minimum character constraints to
random_string
(#22)
NEW FEATURES:
random_integer
andrandom_id
are now importable. (#20)
NEW FEATURES:
random_integer
resource generates a single integer within a given range. (#12)
NEW FEATURES:
random_string
resource generates random strings of a given length consisting of letters, digits and symbols. (#5)
NOTES:
- Same functionality as that of Terraform 0.9.8. Repacked as part of Provider Splitout