No requirements.
Name | Version |
---|---|
aws | n/a |
No modules.
Name | Type |
---|---|
aws_instance.instance | resource |
aws_security_group.sg | resource |
aws_security_group_rule.egress | resource |
aws_security_group_rule.ssh_ingress | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
ami_id | The ID of the bastion AMI. | string |
n/a | yes |
base_tags | A map of tags applied to all bastion resources. | map(string) |
{} |
no |
instance_tags | A map of tags applied to the bastion instance. | map(string) |
{} |
no |
instance_type | The instance type of the bastion. | string |
"t3.micro" |
no |
name | The name of the bastion. Used when naming resources. | string |
"Bastion Server" |
no |
sg_tags | A map of tags applied to the bastion Security Group. | map(string) |
{} |
no |
ssh_ingress_cidr | The CIDR block from which SSH ingress is opened on the bastion's Security Group. | string |
n/a | yes |
ssh_port | The port on which SSH is served on the bastion. | string |
22 |
no |
subnet_id | The ID of the subnet into which the bastion is placed. | string |
n/a | yes |
vpc_id | The ID of the VPC into which the bastion is placed. | string |
n/a | yes |
Name | Description |
---|---|
instance_id | The ID of the bastion EC2 instance. |
sg_id | The ID of the bastion Security Group. |