forked from Flaconi/terraform-aws-iam-ses-user
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
26 lines (22 loc) · 849 Bytes
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
output "this_user_name" {
value = element(concat(aws_iam_user.this.*.name, [""]), 0)
description = "IAM user name"
}
output "this_user_arn" {
value = element(concat(aws_iam_user.this.*.arn, [""]), 0)
description = "ARN of the IAM user"
}
output "this_access_key" {
value = element(concat(aws_iam_access_key.this.*.id, [""]), 0)
description = "IAM Access Key of the created user, used as the STMP user name"
}
output "this_access_secret" {
value = element(concat(aws_iam_access_key.this.*.secret, [""]), 0)
description = "IAM Access Secret of the created user"
sensitive = true
}
output "this_ses_smtp_password" {
value = element(concat(aws_iam_access_key.this.*.ses_smtp_password_v4, [""]), 0)
description = "The secret access key converted into an SES SMTP password"
sensitive = true
}