-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
44 lines (36 loc) · 2.1 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
output "api_gateway_id" {
description = "The ID of the managed API Gateway API."
value = aws_apigatewayv2_api.api_gateway.id
}
output "api_gateway_arn" {
description = "The ARN of the managed API Gateway API."
value = aws_apigatewayv2_api.api_gateway.arn
}
output "api_gateway_name" {
description = "The name of the managed API Gateway API."
value = aws_apigatewayv2_api.api_gateway.name
}
output "default_stage_id" {
description = "The ID of the default stage of the managed API Gateway API. This is an empty string when the default stage is not included."
value = try(module.default_stage[0].stage_id, "")
}
output "default_stage_arn" {
description = "The ARN of the default stage of the managed API Gateway API. This is an empty string when the default stage is not included."
value = try(module.default_stage[0].stage_arn, "")
}
output "default_stage_api_mapping_id" {
description = "The ID of the API mapping of the default stage of the managed API Gateway API. This is an empty string when the default stage is not included."
value = try(module.default_stage[0].api_mapping_id, "")
}
output "default_stage_domain_name_id" {
description = "The ID of the domain name of the default stage of the managed API Gateway API. This is an empty string when the default stage is not included or the default stage domain name is not included."
value = try(module.default_stage[0].domain_name_id, "")
}
output "default_stage_domain_name_arn" {
description = "The ARN of the domain name of the default stage of the managed API Gateway API. This is an empty string when the default stage is not included or the default stage domain name is not included."
value = try(module.default_stage[0].domain_name_arn, "")
}
output "default_stage_domain_name_configuration" {
description = "The domain name configuration of the domain name of the default stage of the managed API Gateway API. This is an empty string when the default stage is not included or the default stage domain name is not included."
value = try(module.default_stage[0].domain_name_configuration, {})
}