| security_group |
One security group for all tunnels |
map |
{ "description": "sg for tunnels", "egress_rules": [ "all-all" ], "ingress_with_cidr_blocks": [ { "cidr_blocks": "0.0.0.0/0", "description": "ssh for testing", "from_port": 22, "ipv6_cidr_blocks": "", "protocol": "tcp", "to_port": 22 }, { "cidr_blocks": "0.0.0.0/0", "description": "ssh for testing", "from_port": 443, "ipv6_cidr_blocks": "", "protocol": "tcp", "to_port": 443 }, { "cidr_blocks": "0.0.0.0/0", "description": "ssh for testing", "from_port": 80, "ipv6_cidr_blocks": "", "protocol": "tcp", "to_port": 80 } ], "name": "tunnel-sg" } |
no |
| tunnel_defaults |
this is the config for the instance from an AMI |
map |
{ "associate_public_ip_address": true, "az": "c", "dedicated": null, "ebs_block_devices": { "delete_on_termination": true, "encrypted": true, "iops": 3000, "throughput": null, "volume_size": 1024, "volume_type": "gp3" }, "instance_type": "t2.micro", "name": "tunnel", "root_block_device": { "delete_on_termination": true, "device_name": "/dev/xvda", "encrypted": true, "iops": 3000, "volume_size": "8", "volume_type": "gp3" }, "secondary_private_ips": null, "user_data": "#!/bin/bash\r\necho hello\r\nmkdir /home/newdir\r\n" } |
no |