Untitled
unknown
plain_text
a year ago
560 B
6
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
tag_specifications {
resource_type = "instance"
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