-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathoutputs.tf
43 lines (35 loc) · 899 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
output "iam_role_arn" {
value = aws_iam_role.iam_role[*].arn
}
output "iam_role_name" {
value = aws_iam_role.iam_role[*].name
}
output "iam_policies_arn" {
value = concat(
aws_iam_policy.iam_policy[*].arn,
aws_iam_policy.global_iam_policy[*].arn,
aws_iam_policy.iam_boundary[*].arn,
)
}
output "iam_policies_names" {
value = concat(
aws_iam_policy.iam_policy[*].name,
aws_iam_policy.global_iam_policy[*].name,
aws_iam_policy.iam_boundary[*].name,
)
}
output "iam_policy_attachment" {
value = aws_iam_role_policy_attachment.iam_role[*].policy_arn
}
output "iam_instance_profile" {
value = aws_iam_instance_profile.iam_instance_profile[*].name
}
output "iam_instance_profile_arn" {
value = aws_iam_instance_profile.iam_instance_profile[*].arn
}
output "group_name" {
value = aws_iam_group.this[*].name
}
output "group_id" {
value = aws_iam_group.this[*].id
}