terraform
This commit is contained in:
commit
33a12b643f
15 changed files with 1021 additions and 0 deletions
29
terraform/outputs.tf
Normal file
29
terraform/outputs.tf
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# Server IPs
|
||||
output "ops_ipv4" {
|
||||
value = hcloud_server.ops.ipv4_address
|
||||
description = "Ops server IPv4"
|
||||
}
|
||||
|
||||
output "ops_ipv6" {
|
||||
value = hcloud_server.ops.ipv6_address
|
||||
description = "Ops server IPv6"
|
||||
}
|
||||
|
||||
output "services_ipv4" {
|
||||
value = hcloud_server.services.ipv4_address
|
||||
description = "Services server IPv4"
|
||||
}
|
||||
|
||||
output "services_ipv6" {
|
||||
value = hcloud_server.services.ipv6_address
|
||||
description = "Services server IPv6"
|
||||
}
|
||||
|
||||
# VPC Network
|
||||
output "vpc_network" {
|
||||
value = {
|
||||
id = hcloud_network.main.id
|
||||
ip_range = hcloud_network.main.ip_range
|
||||
}
|
||||
description = "VPC network info"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue