You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 with terraform output -json. When using terraform output -json | jq all works fine.
✋ I have searched the open/closed issues and my issue is not listed.
Versions
Module version: 5.39.0
Terraform version: Terraform v1.5.4 on darwin_arm64
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
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)
The text was updated successfully, but these errors were encountered: