Skip to content

Commit

Permalink
force pub ip
Browse files Browse the repository at this point in the history
  • Loading branch information
dfry committed May 22, 2023
1 parent bbb442a commit 6141853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/aws/base-infra/infra.tf
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ resource "aws_instance" "bastion" {
subnet_id = element(module.vpc.public_subnets, 0)
user_data = templatefile("${path.module}/templates/bastion.user_data.tmpl", { ssh_keys = local.ssh_keys })
key_name = local.cluster_domain

associate_public_ip_address = true
vpc_security_group_ids = [aws_security_group.bastion.id, module.vpc.default_security_group_id]

tags = merge({ Name = "${local.cluster_domain}-bastion" }, local.common_tags)
Expand Down

0 comments on commit 6141853

Please sign in to comment.