You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This module deploys a bastion instance into an existing VPC. A bastion is an instance that is provisioned with a public IP address and can be accessed via SSH. Once set up, the bastion host acts as a jump server allowing secure connection to instances provisioned without a public IP address.
Requirements
Name
Version
terraform
>= 0.13
ibm
>= 1.18.0
Providers
Name
Version
ibm
>= 1.18.0
Inputs
Name
Description
Type
Default
Required
resource_group_id
ID of the resource group where to create the bastion instance and security groups
string
n/a
yes
vpc_id
ID of the VPC where to create the bastion
string
n/a
yes
subnet_id
ID of the subnet where to create the bastion instance
string
n/a
yes
name
Name of the bastion instance
string
n/a
yes
image_name
Name of the image to use for the bastion instance
string
"ibm-ubuntu-18-04-1-minimal-amd64-2"
no
init_script
Script to run during the instance initialization. Defaults to an Ubuntu specific script when set to empty
string
""
no
profile_name
Instance profile to use for the bastion instance
string
"cx2-2x4"
no
ssh_key_ids
List of SSH key IDs to inject into the bastion instance
list(string)
n/a
yes
allow_ssh_from
An IP address, a CIDR block, or a single security group identifier to allow incoming SSH connection to the bastion
string
"0.0.0.0/0"
no
create_public_ip
Set whether to allocate a public IP address for the bastion instance
bool
true
no
security_group_rules
List of security group rules to set on the bastion security group in addition to the SSH rules