parent | title | nav_exclude |
---|---|---|
Infrastructure Catalog |
AWS Bastion-Host |
false |
The bastion-host
module deploys an ECS-backed container which can be used to remotely test
or develop using the native cloud environment.
Applicable use cases include:
- Debugging network firewall and routing rules
- Debugging components which can only be run from whitelisted IP ranges
- Offloading heavy processing from the developer's local laptop
- Mitigating network reliability issues when working from WiFi or home networks
No requirements.
No provider.
The following input variables are required:
Description: Standard name_prefix
module input.
Type: string
Description: Standard environment
module input.
Type:
object({
vpc_id = string
aws_region = string
public_subnets = list(string)
private_subnets = list(string)
})
Description: Standard resource_tags
module input.
Type: map(string)
Description: Path to the AWS credentials file, used to ensure that the correct credentials are used during upload of the ECR image.
Type: string
The following input variables are optional (have default values):
Description: Optional. The name of an available prebuilt bastion image to use for the container.
- Currently only
dataopstk/bastion:python-3.8
is supported (default). - Ignored if
custom_base_image
is provided.
Type: string
Default: "dataopstk/bastion:python-3.8"
Description: Optional. The name of a custom base image, on top of which to build a custom bastion image.
- Overrides any setting provided for
standard_image
. - This option has additional workstation requirements, including Golang, Docker, and special docker config as defined here: https://infra.dataops.tk/components/aws/ecr-image/#prereqs
Type: string
Default: null
Description: Map of environment variables.
Type: map(string)
Default: {}
Description: Map of environment secrets.
Type: map(string)
Default: {}
Description: Optional. Override the docker image's entrypoint.
Type: any
Default: null
Description: Optional. Specify the number of cores to use in the container.
Type: number
Default: 0.5
Description: Optional. Specify the amount of RAM to be available to the container.
Type: number
Default: 1
Description: If True, tasks will use a private subnet and will require a NAT gateway to pull the docker image, and for any outbound traffic. If False, tasks will use a public subnet and will not require a NAT gateway.
Type: bool
Default: false
Description: Optional. Path to a valid public key for SSH connectivity.
Type: string
Default: null
Description: Optional. Path to a valid public key for SSH connectivity.
Type: string
Default: null
Description: List of source IP CIDR blocks which should be allowed to connect to the bastion host.
Type: list(string)
Default: null
The following outputs are exported:
Description: Summary of resources created by this module.
Source code for this module is available using the links below.
NOTE: This documentation was auto-generated using
terraform-docs
and s-infra
from slalom.dataops
.
Please do not attempt to manually update this file.