output iam-user-name { value = aws_iam_user.iam-user.name } output iam-user-arn { value = aws_iam_user.iam-user.arn } output iam-user-access-key { value = try(aws_iam_access_key.iam-user-access-key[0].id, "none") } output iam-user-access-key-pgp { value = try(aws_iam_access_key.iam-user-access-key-pgp[0].id, "none") } output iam-user-secret-key-pgp { value = try(aws_iam_access_key.iam-user-access-key-pgp[0].encrypted_secret, "none") } output iam-user-pass-pgp { value = try(aws_iam_user_login_profile.iam-user-profile-pgp[0].encrypted_password, "none") }