Closed ahasna closed 3 months ago
This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days
This issue was automatically closed because of stale in 10 days
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Description
When using the
iam-user
module to create IAM Users with console login profiles, the login kept failing. Upon further inspection, I noticed that the initial login password contained\u0026
which is the unicode of&
. Replacing the unicode with the actual character worked (after 2 hours of debugging fun). i suspect this as something to do withterraform output -json
. When usingterraform output -json | jq
all works fine.Versions
Module version: 5.39.0
Terraform version:
Terraform v1.5.4 on darwin_arm64
Provider version(s):
provider registry.terraform.io/hashicorp/aws v5.45.0
Reproduction Code
Steps to reproduce the behavior:
&
in the initial random passwordterraform output -json
Expected behavior
Password is returned as is by the output.
Actual behavior
Some special carachters are unicode-encoded
Terminal Output Screenshot(s)