Skip to content

Releases: hashicorp/terraform-provider-random

v3.6.2

21 May 19:38
Compare
Choose a tag to compare

NOTES:

  • resource/random_pet: Results have been updated to the latest upstream petname data (#581)

v3.6.1

16 Apr 06:27
Compare
Choose a tag to compare

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)

v3.6.0

04 Dec 14:00
Compare
Choose a tag to compare

FEATURES:

  • resource/random_bytes: New resource that generates an array of random bytes intended to be used as key or secret (#272)

v3.5.1

12 Apr 20:17
Compare
Choose a tag to compare

BUG FIXES:

  • resource/random_password: Prevent error with bcrypt by truncating the bytes that are hashed to a maximum length of 72 (#397)

v3.5.0

11 Apr 16:06
Compare
Choose a tag to compare

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)

v3.4.3

08 Sep 14:50
7c57c5f
Compare
Choose a tag to compare

NOTES:

  • resource/random_password: The values for lower, number, special, upper, min_lower, min_numeric, min_special, min_upper and length could be null if the resource was imported using version 3.3.1 or before. The value for length 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 and length could be null if the resource was imported using version 3.3.1 or before. The value for length 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 the result value. Affected resources will automatically regenerate a valid bcrypt_hash after this upgrade. (#308)
  • resource/random_password: The override_special attribute may show a plan difference from empty string ("") to null 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 ("") to null 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 and min_upper if null. Assign length of result to length if null (#313)
  • resource/random_string: Assign default values to lower, number, special, upper, min_lower, min_numeric, min_special and min_upper if null. Assign length of result to length 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)

v3.4.2

02 Sep 12:09
Compare
Choose a tag to compare

BUG FIXES:

  • all: Prevent keeper with null 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).

v3.4.1

31 Aug 14:57
Compare
Choose a tag to compare

BUG FIXES:

  • resource/random_password: During attribute plan modifier, only return error if number and numeric are both present and do not match (301).
  • resource/random_string: During attribute plan modifier, only return error if number and numeric are both present and do not match (301).

v3.4.0

30 Aug 15:04
Compare
Choose a tag to compare

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.

v3.3.2

23 Jun 15:34
Compare
Choose a tag to compare

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).