terraform.aws-baseline-infra/modules/security_identity_compliance/iam-user-gpg/outputs.tf
2022-10-17 13:19:53 +08:00

19 lines
439 B
HCL

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-pass {
value = try(aws_iam_user_login_profile.iam-user-profile[0].encrypted_password, "")
}
output iam-user-access-key {
value = try(aws_iam_access_key.iam-user-access-key[0].id, "")
}
output iam-user-secret-key {
value = try(aws_iam_access_key.iam-user-access-key[0].encrypted_secret, "")
}