generated from cloudposse/terraform-example-module
-
-
Notifications
You must be signed in to change notification settings - Fork 49
/
outputs.tf
44 lines (36 loc) · 1.62 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 "transit_gateway_arn" {
value = try(aws_ec2_transit_gateway.default[0].arn, "")
description = "Transit Gateway ARN"
}
output "transit_gateway_id" {
value = try(aws_ec2_transit_gateway.default[0].id, "")
description = "Transit Gateway ID"
}
output "transit_gateway_route_table_id" {
value = try(aws_ec2_transit_gateway_route_table.default[0].id, "")
description = "Transit Gateway route table ID"
}
output "transit_gateway_association_default_route_table_id" {
value = try(aws_ec2_transit_gateway.default[0].association_default_route_table_id, "")
description = "Transit Gateway association default route table ID"
}
output "transit_gateway_propagation_default_route_table_id" {
value = try(aws_ec2_transit_gateway.default[0].propagation_default_route_table_id, "")
description = "Transit Gateway propagation default route table ID"
}
output "transit_gateway_vpc_attachment_ids" {
value = try({ for i, o in aws_ec2_transit_gateway_vpc_attachment.default : i => o["id"] }, {})
description = "Transit Gateway VPC attachment IDs"
}
output "transit_gateway_route_ids" {
value = try({ for i, o in module.transit_gateway_route : i => o["transit_gateway_route_ids"] }, {})
description = "Transit Gateway route identifiers combined with destinations"
}
output "subnet_route_ids" {
value = try({ for i, o in module.subnet_route : i => o["subnet_route_ids"] }, {})
description = "Subnet route identifiers combined with destinations"
}
output "ram_resource_share_id" {
value = try(aws_ram_resource_share.default[0].id, "")
description = "RAM resource share ID"
}