terraform-module-bastion
Create a bastion after bootstrapping vpc
Inputs - Required:
aws_region
- AWS Regionaws_key_name
- Name of EC2 Keypairaws_key_file
- Location of the private EC2 Keypair filevpc_security_group_ids
- Array of DMZ Security Groups to usesubnet_id
- DMZ Subnet IDresource_tags
- AWS tags to apply to resources
Inputs - Optional:
- None
Outputs:
box-bastion-public
- IP address of the bastion
After creation, run the following once in an ssh session:
sudo jumpbox system