stdmagecdk

package
v0.0.187 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package stdmagecdk provides targets for deploying with the AWS cdk.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bootstrap

func Bootstrap(env string) error

Bootstrap the infra stack using AWS CDK.

func Boundary added in v0.0.72

func Boundary() error

Boundary sets up a permission boundary in the AWS IAM account.

func Build

func Build() error

Build infra artifacts for deployment.

func Deploy

func Deploy(env string) error

Deploy deploy our infrastructure.

func DeployStack

func DeployStack(env string, stack string) error

DeployStack deploys a specific stack of our infrastructure (exclusively).

func Diff

func Diff(env string) error

Diff calculates and shows the diff for our infrastructure deploy.

func DiffStack

func DiffStack(env string, stack string) error

DiffStack calculates and shows the diff a specific stack (exclusively).

func Init

func Init(
	awsRegion, awsProfile, awsBootstrapProfile, cdkQualifier string,
	dockerBuilds []DockerBuild,
	executionPolicies []string,
	noStagingEnv bool,
	ssmNoCacheParameterNames []string,
	cdkDir string,
)

Init initializes the mage targets.

func List

func List(env string) error

List lists the stacks in our infrastructure.

func LiveContextParams added in v0.0.73

func LiveContextParams() error

LiveContextParams updates the cdk context json with live parameter values.

func Output

func Output(env, outputKey string) error

Output reads the output of the stack.

Types

type DockerBuild added in v0.0.23

type DockerBuild struct {
	Name       string
	DockerFile string
	Platform   string
	Context    string
}

DockerBuild describes a Docker image to be build.

Jump to

Keyboard shortcuts

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