-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathoutputs.tf
22 lines (19 loc) · 1.01 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
output "vpc_attachment_accepter" {
description = "Object with the Transit Gateway VPC attachment accepter attributes"
# accepter tags are null on initial apply rather than "known after apply"
# this can cause a diff on second apply when the entire resource is output
# in the caller config. workaround is to explicitly set tags to var.tags
value = merge(try(aws_ec2_transit_gateway_vpc_attachment_accepter.this[0], data.aws_ec2_transit_gateway_attachment.this[0]), { tags = var.tags })
}
output "route_table_association" {
description = "Object with the Transit Gateway route table association attributes"
value = var.transit_gateway_route_table_association != null ? aws_ec2_transit_gateway_route_table_association.this[0] : null
}
output "route_table_propagations" {
description = "Map of Transit Gateway route table propagation objects"
value = aws_ec2_transit_gateway_route_table_propagation.this
}
output "vpc_routes" {
description = "Map of VPC route objects"
value = aws_route.this
}