refactor(terraform): rename server to cv-control-plane, fix image and server type defaults
This commit is contained in:
1 parent
8e0c1a8796
commit
c2d356870a
8 files changed
+23
-30
No files matched your search
@@ -1,13 +1,13 @@
|
||||
# Values other tooling and the operator need after apply.
|
||||
|
||||
output "server_ip" {
|
||||
description = "Public IPv4 of server0."
|
||||
value = hcloud_server.server0.ipv4_address
|
||||
description = "Public IPv4 of the control plane."
|
||||
value = hcloud_server.control_plane.ipv4_address
|
||||
}
|
||||
|
||||
output "ssh_command" {
|
||||
description = "Ready-to-paste SSH command for server0."
|
||||
value = "ssh -i ${var.ssh_private_key_path} ${var.ssh_user}@${hcloud_server.server0.ipv4_address}"
|
||||
description = "Ready-to-paste SSH command for the control plane."
|
||||
value = "ssh -i ${var.ssh_private_key_path} ${var.ssh_user}@${hcloud_server.control_plane.ipv4_address}"
|
||||
}
|
||||
|
||||
output "proxy_url" {
|
||||
@@ -15,5 +15,3 @@ output "proxy_url" {
|
||||
value = "https://${var.domain}"
|
||||
}
|
||||
|
||||
# Kubeconfig stays on this machine and never enters Git. Add its path here once
|
||||
# main.tf writes it, e.g. "${path.module}/kubeconfig".
|
||||
Reference in new issue
Block a user