This repository has been archived by the owner on Mar 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
92 lines (76 loc) · 3.92 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
# aws_ec2_transit_gateway
output "ec2_transit_gateway_arn" {
description = "EC2 Transit Gateway Amazon Resource Name (ARN)"
value = element(concat(aws_ec2_transit_gateway.this.*.arn, [""]), 0)
}
output "ec2_transit_gateway_association_default_route_table_id" {
description = "Identifier of the default association route table"
value = element(concat(aws_ec2_transit_gateway.this.*.association_default_route_table_id, [""]), 0)
}
output "ec2_transit_gateway_id" {
description = "EC2 Transit Gateway identifier"
value = element(concat(aws_ec2_transit_gateway.this.*.id, [""]), 0)
}
output "ec2_transit_gateway_owner_id" {
description = "Identifier of the AWS account that owns the EC2 Transit Gateway"
value = element(concat(aws_ec2_transit_gateway.this.*.owner_id, [""]), 0)
}
output "ec2_transit_gateway_propagation_default_route_table_id" {
description = "Identifier of the default propagation route table"
value = element(concat(aws_ec2_transit_gateway.this.*.propagation_default_route_table_id, [""]), 0)
}
# aws_ec2_transit_gateway_route_table
output "ec2_transit_gateway_route_table_default_association_route_table" {
description = "Boolean whether this is the default association route table for the EC2 Transit Gateway"
value = element(concat(aws_ec2_transit_gateway_route_table.this.*.default_association_route_table, [""]), 0)
}
output "ec2_transit_gateway_route_table_default_propagation_route_table" {
description = "Boolean whether this is the default propagation route table for the EC2 Transit Gateway"
value = element(concat(aws_ec2_transit_gateway_route_table.this.*.default_propagation_route_table, [""]), 0)
}
output "ec2_transit_gateway_route_table_id" {
description = "EC2 Transit Gateway Route Table identifier"
value = element(concat(aws_ec2_transit_gateway_route_table.this.*.id, [""]), 0)
}
# aws_ec2_transit_gateway_route
output "ec2_transit_gateway_route_ids" {
description = "List of EC2 Transit Gateway Route Table identifier combined with destination"
value = aws_ec2_transit_gateway_route.this.*.id
}
# aws_ec2_transit_gateway_vpc_attachment
output "ec2_transit_gateway_vpc_attachment_ids" {
description = "List of EC2 Transit Gateway VPC Attachment identifiers"
value = [for k, v in aws_ec2_transit_gateway_vpc_attachment.this : v.id]
}
output "ec2_transit_gateway_vpc_attachment" {
description = "Map of EC2 Transit Gateway VPC Attachment attributes"
value = aws_ec2_transit_gateway_vpc_attachment.this
}
# aws_ec2_transit_gateway_route_table_association
output "ec2_transit_gateway_route_table_association_ids" {
description = "List of EC2 Transit Gateway Route Table Association identifiers"
value = [for k, v in aws_ec2_transit_gateway_route_table_association.this : v.id]
}
output "ec2_transit_gateway_route_table_association" {
description = "Map of EC2 Transit Gateway Route Table Association attributes"
value = aws_ec2_transit_gateway_route_table_association.this
}
# aws_ec2_transit_gateway_route_table_propagation
output "ec2_transit_gateway_route_table_propagation_ids" {
description = "List of EC2 Transit Gateway Route Table Propagation identifiers"
value = [for k, v in aws_ec2_transit_gateway_route_table_propagation.this : v.id]
}
output "ec2_transit_gateway_route_table_propagation" {
description = "Map of EC2 Transit Gateway Route Table Propagation attributes"
value = aws_ec2_transit_gateway_route_table_propagation.this
}
# aws_ram_resource_share
output "ram_resource_share_id" {
description = "The Amazon Resource Name (ARN) of the resource share"
value = element(concat(aws_ram_resource_share.this.*.id, [""]), 0)
}
# aws_ram_principal_association
output "ram_principal_association_id" {
description = "The Amazon Resource Name (ARN) of the Resource Share and the principal, separated by a comma"
value = element(concat(aws_ram_principal_association.this.*.id, [""]), 0)
}