Skip to content

Commit ee8031d

Browse files
committed
fix: terraform add outputs multi-network gateway and taurus AD
1 parent c8f85cf commit ee8031d

File tree

1 file changed

+74
-1
lines changed

1 file changed

+74
-1
lines changed

resources/terraform/auto-drive/outputs.tf

Lines changed: 74 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
################################################################################
2-
# Auto-Drive Instances Outputs
2+
# Mainnet Auto-Drive Instances Outputs
33
################################################################################
44

55
output "ec2_auto_drive_ids" {
@@ -32,6 +32,40 @@ output "ec2_auto_drive_availability_zones" {
3232
value = module.ec2_auto_drive[*].availability_zone
3333
}
3434

35+
################################################################################
36+
# Taurus Auto-Drive Instances Outputs
37+
################################################################################
38+
39+
output "ec2_auto_drive_taurus_ids" {
40+
description = "The IDs of the auto-drive instances"
41+
value = module.ec2_auto_drive_taurus[*].id
42+
}
43+
44+
output "ec2_auto_drive_taurus_arns" {
45+
description = "The ARNs of the auto-drive instances"
46+
value = module.ec2_auto_drive_taurus[*].arn
47+
}
48+
49+
output "ec2_auto_drive_taurus_instance_states" {
50+
description = "The states of the auto-drive instances (e.g., pending, running, etc.)"
51+
value = module.ec2_auto_drive_taurus[*].instance_state
52+
}
53+
54+
output "ec2_auto_drive_taurus_private_ips" {
55+
description = "The private IPs of the auto-drive instances"
56+
value = module.ec2_auto_drive_taurus[*].private_ip
57+
}
58+
59+
output "ec2_auto_drive_taurus_public_ips" {
60+
description = "The public IPs of the auto-drive instances, if applicable"
61+
value = module.ec2_auto_drive_taurus[*].public_ip
62+
}
63+
64+
output "ec2_auto_drive_taurus_availability_zones" {
65+
description = "The availability zones of the auto-drive instances"
66+
value = module.ec2_auto_drive_taurus[*].availability_zone
67+
}
68+
3569
################################################################################
3670
# Gateway Instances Outputs
3771
################################################################################
@@ -76,6 +110,45 @@ output "gateway_eip" {
76110
value = module.ec2_gateway[*].public_ip
77111
}
78112

113+
################################################################################
114+
# Multi Network Gateway Instances Outputs
115+
################################################################################
116+
117+
output "ec2_multi_gateway_ids" {
118+
description = "The IDs of the gateway instances"
119+
value = module.ec2_multi_gateway[*].id
120+
}
121+
122+
output "ec2_multi_gateway_arns" {
123+
description = "The ARNs of the gateway instances"
124+
value = module.ec2_multi_gateway[*].arn
125+
}
126+
127+
output "ec2_multi_gateway_instance_states" {
128+
description = "The states of the gateway instances (e.g., pending, running, etc.)"
129+
value = module.ec2_multi_gateway[*].instance_state
130+
}
131+
132+
output "ec2_multi_gateway_private_ips" {
133+
description = "The private IPs of the gateway instances"
134+
value = module.ec2_multi_gateway[*].private_ip
135+
}
136+
137+
output "ec2_multi_gateway_public_ips" {
138+
description = "The public IPs of the gateway instances, if applicable"
139+
value = module.ec2_multi_gateway[*].public_ip
140+
}
141+
142+
output "ec2_multi_gateway_availability_zones" {
143+
description = "The availability zones of the gateway instances"
144+
value = module.ec2_multi_gateway[*].availability_zone
145+
}
146+
147+
output "gateway_eip" {
148+
description = "Elastic IPs for Gateway instances"
149+
value = module.ec2_multi_gateway[*].public_ip
150+
}
151+
79152

80153
################################################################################
81154
# RDS Outputs

0 commit comments

Comments
 (0)