❯ terraform validate
╷
│ Error: Invalid Attribute Value Length
│
│ with artifactory_managed_user.main,
│ on main.tf line 25, in resource "artifactory_managed_user" "main":
│ 25: password = random_password.main.result
│
│ Attribute password string length must be at least 8, got 0
╵
Requirements for and issue
[x] A description of the bug
[x] A fully functioning terraform snippet that can be copy&pasted (no outside files or ENV vars unless that's part of the issue). If this is not supplied, this issue will likely be closed without any effort expended.
[ ] ~Your version of artifactory (you can curl it at $host/artifactory/api/system/version~
[x] Your version of terraform → 1.8.4
[x] Your version of terraform provider → 11.2.0
Expected behavior
The validation does not fail.
Additional context
This does not happen with jfrog/artifactory<11.2.0
Describe the bug
With
jfrog/artifactory=11.2.0
, theartifactory_managed_user
fails to validate when passing in arandom_password.result
.Example
Gives
Requirements for and issue
curl
it at$host/artifactory/api/system/version
~Expected behavior
The validation does not fail.
Additional context
This does not happen with
jfrog/artifactory<11.2.0