terraform: Allow nodes to join the cluster when using a jump host by removing the constellation-uid tag (#3064)

* terraform: remove constellation-uid tag from jump-host
This commit is contained in:
3u13r 2024-05-06 12:25:52 +02:00 committed by GitHub
parent 3241e5a126
commit ecebd607c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View File

@ -213,5 +213,5 @@ module "jump_host" {
ports = [for port in local.load_balancer_ports : port.port]
security_groups = [aws_security_group.security_group.id]
iam_instance_profile = var.iam_instance_profile_name_worker_nodes
additional_tags = local.tags
additional_tags = var.additional_tags
}

View File

@ -27,7 +27,7 @@ resource "aws_instance" "jump_host" {
vpc_security_group_ids = var.security_groups
tags = merge(var.additional_tags, {
"Name" = "${var.base_name}-jump-host"
"Name" = "${var.base_name}-jump-host",
})
user_data = <<EOF

View File

@ -276,7 +276,7 @@ module "jump_host" {
subnet_id = azurerm_subnet.loadbalancer_subnet[0].id
ports = [for port in local.ports : port.port]
lb_internal_ip = azurerm_lb.loadbalancer.frontend_ip_configuration[0].private_ip_address
tags = local.tags
tags = var.additional_tags
}
data "azurerm_subscription" "current" {

View File

@ -240,7 +240,7 @@ module "jump_host" {
base_name = local.name
zone = var.zone
subnetwork = google_compute_subnetwork.vpc_subnetwork.id
labels = local.labels
labels = var.additional_labels
lb_internal_ip = google_compute_address.loadbalancer_ip_internal[0].address
ports = [for port in local.control_plane_named_ports : port.port]
}