Untitled

 avatar
unknown
plain_text
9 months ago
496 B
2
Indexable
resource "aws_instance" "bastion-host" {
  ami = var.bastion_ami
  instance_type = var.bastion_instance_type
  key_name = "sandbx-bastion-key"
  subnet_id = [aws_subnet.eks_bastion.id]
  #vpc_security_group_ids = [aws_security_group.eks-bastion-sg.id]
  iam_instance_profile = var.bastion_instance_profile
 
  tags = {
    Name         = "${var.project_name_lower_case}-mgmt-svr"
    Environment  = var.env_tags
    Cost_Center  = var.cost_center
    Project      = var.project_name
    }
  }
 
}
Editor is loading...
Leave a Comment