Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Outputs OutputBastionUserPrivateKey = "bastion_id_rsa" OutputBastionUsername = "bastion_username" OutputBastionHost = "bastion_host" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BastionRequest ¶
type BastionRequest struct { Prefix string VPC *ec2.Vpc Subnet *ec2.Subnet // Custon key for the outputs // in case we want to create a stack with 2 bastions // we need to use diff keys for outputs which should be controlled // outside OutputKeyPrivateKey string OutputKeyHost string OutputKeyUsername string }
func (*BastionRequest) Create ¶
func (r *BastionRequest) Create(ctx *pulumi.Context) (*Bastion, error)
This module allows to create a bastion host It will export to context, based on keys from request: * private key * username * host It will also return the required refs to resources as BastionsResources to allow orchestrated within the wrapping stack
Click to show internal directories.
Click to hide internal directories.