Skip to content

Releases: hashicorp/terraform-provider-random

v3.4.3

08 Sep 14:50
7c57c5f

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

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

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

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

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

v3.3.1

07 Jun 12:11
b7b4a99

Choose a tag to compare

BUG FIXES:

  • resource/random_password: During schema upgrade, copy value of attribute number to attribute numeric, only if said value is a boolean (i.e. not null) (262)
  • resource/random_string: During schema upgrade, copy value of attribute number to attribute numeric, only if said value is a boolean (i.e. not null) (262)

v3.3.0

06 Jun 15:46
96bc479

Choose a tag to compare

ENHANCEMENTS:

  • resource/random_password: number is now deprecated and numeric has been added to align attribute naming. number will be removed in the next major release (#258).
  • resource/random_string: number is now deprecated and numeric has been added to align attribute naming. number will be removed in the next major release (#258).

v3.2.0

18 May 14:45
7d4676c

Choose a tag to compare

NEW FEATURES:

  • resource/random_password: New attribute bcrypt_hash, which is the hashed password (73, 102, 254)

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

v3.1.3

22 Apr 13:38
9de7bb9

Choose a tag to compare

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

v3.1.2

17 Mar 17:23
19a92f2

Choose a tag to compare

BUG FIXES:

  • resource/random_pet: Prevented deterministic results since 3.1.1 (#217.