-
Notifications
You must be signed in to change notification settings - Fork 125
Open
Labels
Description
Terraform CLI and Provider Versions
Terraform v1.6.6
on darwin_arm64
- provider registry.terraform.io/hashicorp/random v3.6.0
- provider registry.terraform.io/pingidentity/pingone v0.25.1
Your version of Terraform is out of date! The latest version
is 1.7.0. You can update by downloading from https://www.terraform.io/downloads.html
Use Cases or Problem Statement
We use PingOne provider for password generation and we have option to enable "password cannot have more than 2 repeated characters" . As per below output random_password.password["[email protected]"].result have "KK" value repeated so user creation is failing.
Terrafrom error
random_password.password["[email protected]"]: Creation complete after 0s [id=none]
pingone_user.admins["[email protected]"]: Creating...
│ Error: Error when calling `CreateUser`: The request could not be completed. One or more validation errors were in the request.
│
│ with pingone_user.admins["[email protected]"],
│ on users.tf line 1, in resource "pingone_user" "admins":
│ 1: resource "pingone_user" "admins" {
│
│ PingOne Error Details:
│ ID: 78355ac7-870a-4ff8-ad01-765babcca2a1
│ Code: INVALID_DATA
│ Message: The request could not be completed. One or more validation errors were in the request.
│ Details object: [{"code":"INVALID_VALUE","innerError":{},"message":"User password did not satisfy password policy requirements","target":"password"}]
Terraform Sample [email protected] password string
"<[email protected]>": {
"bcrypt_hash": "<Removed>",
"id": "none",
"keepers": null,
"length": 32,
"lower": true,
"min_lower": 3,
"min_numeric": 3,
"min_special": 3,
"min_upper": 3,
"number": true,
"numeric": true,
"override_special": "~!@#$%^*()&",
"result": "kHkkKy7GO9#6Hc~lK7^h5wtaA*VSwC9#",
"special": true,
"upper": true
}
Need option to have field for "password cannot have more than 2 field" in random_password.password
Proposal
Need option to have field for "password cannot have more than 2 field" in random_password.password
How much impact is this issue causing?
Low
Additional Information
No response
Code of Conduct
- I agree to follow this project's Code of Conduct