generated from clowdhaus/terraform-aws-module-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
178 lines (141 loc) · 6.11 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
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
################################################################################
# API Gateway
################################################################################
output "api_id" {
description = "The API identifier"
value = module.api_gateway.api_id
}
output "api_endpoint" {
description = "URI of the API, of the form `https://{api-id}.execute-api.{region}.amazonaws.com`"
value = module.api_gateway.api_endpoint
}
output "api_arn" {
description = "The ARN of the API"
value = module.api_gateway.api_arn
}
output "api_execution_arn" {
description = "The ARN prefix to be used in an `aws_lambda_permission`'s `source_arn` attribute or in an `aws_iam_policy` to authorize access to the `@connections` API"
value = module.api_gateway.api_execution_arn
}
################################################################################
# Authorizer(s)
################################################################################
output "api_authorizers" {
description = "Map of API Gateway Authorizer(s) created and their attributes"
value = module.api_gateway.authorizers
}
################################################################################
# Domain Name
################################################################################
output "api_domain_name_id" {
description = "The domain name identifier"
value = module.api_gateway.domain_name_id
}
output "api_domain_name_arn" {
description = "The ARN of the domain name"
value = module.api_gateway.domain_name_arn
}
output "api_domain_name_api_mapping_selection_expression" {
description = "The API mapping selection expression for the domain name"
value = module.api_gateway.domain_name_api_mapping_selection_expression
}
output "api_domain_name_configuration" {
description = "The domain name configuration"
value = module.api_gateway.domain_name_configuration
}
output "api_domain_name_target_domain_name" {
description = "The target domain name"
value = module.api_gateway.domain_name_target_domain_name
}
output "api_domain_name_hosted_zone_id" {
description = "The Amazon Route 53 Hosted Zone ID of the endpoint"
value = module.api_gateway.domain_name_hosted_zone_id
}
################################################################################
# Domain - Certificate
################################################################################
output "api_acm_certificate_arn" {
description = "The ARN of the certificate"
value = module.api_gateway.acm_certificate_arn
}
################################################################################
# Integration(s)
################################################################################
output "api_integrations" {
description = "Map of the integrations created and their attributes"
value = module.api_gateway.integrations
}
################################################################################
# Route(s)
################################################################################
output "api_routes" {
description = "Map of the routes created and their attributes"
value = module.api_gateway.routes
}
################################################################################
# Stage
################################################################################
output "api_stage_id" {
description = "The stage identifier"
value = module.api_gateway.stage_id
}
output "api_stage_arn" {
description = "The stage ARN"
value = module.api_gateway.stage_arn
}
output "api_stage_execution_arn" {
description = "The ARN prefix to be used in an aws_lambda_permission's source_arn attribute or in an aws_iam_policy to authorize access to the @connections API"
value = module.api_gateway.stage_execution_arn
}
output "api_stage_invoke_url" {
description = "The URL to invoke the API pointing to the stage"
value = module.api_gateway.stage_invoke_url
}
################################################################################
# Stage Access Logs - Log Group
################################################################################
output "api_stage_access_logs_cloudwatch_log_group_name" {
description = "Name of cloudwatch log group created"
value = module.api_gateway.stage_access_logs_cloudwatch_log_group_name
}
output "api_stage_access_logs_cloudwatch_log_group_arn" {
description = "Arn of cloudwatch log group created"
value = module.api_gateway.stage_access_logs_cloudwatch_log_group_arn
}
################################################################################
# VPC Link
################################################################################
output "api_vpc_links" {
description = "Map of VPC links created and their attributes"
value = module.api_gateway.vpc_links
}
################################################################################
# Lambda Function
################################################################################
output "lambda_function_arn" {
description = "The ARN of the Lambda Function"
value = module.lambda_function.lambda_function_arn
}
output "lambda_function_name" {
description = "The name of the Lambda Function"
value = module.lambda_function.lambda_function_name
}
output "lambda_function_qualified_arn" {
description = "The ARN identifying your Lambda Function Version"
value = module.lambda_function.lambda_function_qualified_arn
}
################################################################################
# Lambda IAM Role
################################################################################
output "lambda_role_arn" {
description = "The ARN of the IAM role created for the Lambda Function"
value = module.lambda_function.lambda_role_arn
}
output "lambda_role_name" {
description = "The name of the IAM role created for the Lambda Function"
value = module.lambda_function.lambda_role_name
}
output "lambda_role_unique_id" {
description = "The unique id of the IAM role created for the Lambda Function"
value = module.lambda_function.lambda_role_unique_id
}