-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathoutputs-debug.tf
103 lines (79 loc) · 3.02 KB
/
outputs-debug.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
#
# This file is for development only.
# Comment out the outputs to see how how the transformations work.
#
# -------------------------------------------------------------------------------------------------
# Input variables
# -------------------------------------------------------------------------------------------------
output "debug_var_policies" {
description = "The transformed policy map"
value = var.policies
}
output "debug_var_groups" {
description = "The defined groups list"
value = var.groups
}
output "debug_var_users" {
description = "The defined users list"
value = var.users
}
output "debug_var_roles" {
description = "The defined roles list"
value = var.roles
}
# -------------------------------------------------------------------------------------------------
# Locals (policies)
# -------------------------------------------------------------------------------------------------
output "debug_local_policies" {
description = "The transformed policy map"
value = local.policies
}
# -------------------------------------------------------------------------------------------------
# Locals (groups)
# -------------------------------------------------------------------------------------------------
output "debug_local_group_policies" {
description = "The transformed group policy map"
value = local.group_policies
}
output "debug_local_group_inline_policies" {
description = "The transformed group inline policy map"
value = local.group_inline_policies
}
output "debug_local_group_policy_arns" {
description = "The transformed group policy arns map"
value = local.group_policy_arns
}
# -------------------------------------------------------------------------------------------------
# Locals (users)
# -------------------------------------------------------------------------------------------------
output "debug_local_user_policies" {
description = "The transformed user policy map"
value = local.user_policies
}
output "debug_local_user_access_keys" {
description = "The transformed user access key map"
value = local.user_access_keys
}
output "debug_local_user_inline_policies" {
description = "The transformed user inline policy map"
value = local.user_inline_policies
}
output "debug_local_user_policy_arns" {
description = "The transformed user policy arns map"
value = local.user_policy_arns
}
# -------------------------------------------------------------------------------------------------
# Locals (roles)
# -------------------------------------------------------------------------------------------------
output "debug_local_role_policies" {
description = "The transformed role policy map"
value = local.role_policies
}
output "debug_local_role_inline_policies" {
description = "The transformed role inline policy map"
value = local.role_inline_policies
}
output "debug_local_role_policy_arns" {
description = "The transformed role policy arns map"
value = local.role_policy_arns
}