mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-02-23 16:30:11 -05:00
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:
parent
3241e5a126
commit
ecebd607c5
@ -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
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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" {
|
||||
|
@ -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]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user