bastion

package
v0.9.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteOutputs

func WriteOutputs(stackResult auto.UpResult,
	prefix string,
	destinationFolder string) error

Write exported values in context to files o a selected target folder

Types

type BastionArgs added in v0.9.7

type BastionArgs struct {
	Prefix string
	VPC    *ec2.Vpc
	Subnet *ec2.Subnet
}

type BastionResult added in v0.9.7

type BastionResult struct {
	Instance   *ec2.Instance
	PrivateKey *tls.PrivateKey
	Usarname   string
	Port       int
}

func Create added in v0.9.7

func Create(ctx *pulumi.Context, mCtx *mc.Context, args *BastionArgs) (*BastionResult, 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL