forked from spkane/terraform-aws-account-setup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
24 lines (20 loc) · 891 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
output "mfa_policy_arn" {
description = "MFA Policy arn."
value = element(concat(aws_iam_policy.mfa.*.arn, list("")), 0)
}
output "trail_arn" {
description = "Cloud trail arn."
value = element(concat(aws_cloudtrail.cloudtrail.*.arn, list("")), 0)
}
output "monitor_readonly_user_arn" {
description = "ARN for the monitor readonly user"
value = element(concat(aws_iam_user.monitor_readonly_user.*.arn, list("")), 0)
}
output "monitor_readonly_user_access_key_id" {
description = "Access key id for the monitor readonly user"
value = element(concat(aws_iam_access_key.monitor_readonly_user_access_key.*.id, list("")), 0)
}
output "monitor_readonly_user_secret_access_key" {
description = "Secret access key for the monitor readonly user"
value = element(concat(aws_iam_access_key.monitor_readonly_user_access_key.*.secret, list("")), 0)
}