-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.tf
41 lines (34 loc) · 1.03 KB
/
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
output "access_key_id" {
value = aws_iam_access_key.default.id
description = "The access key ID"
}
output "arn" {
value = aws_iam_user.default.arn
description = "The user ARN"
}
output "name" {
value = aws_iam_user.default.name
description = "The user name"
}
output "secret_access_key" {
value = aws_iam_access_key.default.secret
description = "The secret access key"
sensitive = true
}
output "ses_smtp_password_v4" {
value = aws_iam_access_key.default.ses_smtp_password_v4
description = "The SES SMTP password"
sensitive = true
}
output "ssm_access_key_id" {
value = aws_ssm_parameter.access_key_id.name
description = "The SSM access key ID parameter name"
}
output "ssm_secret_access_key" {
value = aws_ssm_parameter.secret_access_key.name
description = "The SSM secret access key parameter name"
}
output "ssm_ses_smtp_password_v4" {
value = try(aws_ssm_parameter.ses_smtp_password_v4[0].name, "")
description = "The SSM SES SMTP password parameter name"
}