stdmagecdk

package
v0.0.49 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2025 License: MIT Imports: 7 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 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, cdkQualifier string,
	dockerBuilds []DockerBuild,
	executionPolicies []string,
	noStagingEnv bool,
)

Init initializes the mage targets.

func List

func List(env string) error

List lists the stacks in our infrastructure.

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