Cloud Utilities

This section of the CLI provides various handy utilities for working with cloud providers.

Amazon Web Services

moduskube cloud aws codebuild

Commands for managing CodeBuild projects and builds

moduskube cloud aws codebuild [OPTIONS] COMMAND [ARGS]...

build

Start a new build of PROJECT and follow the output.

This command makes CodeBuild builds behave more like a local build process. After starting the build, the command follows the build output as it runs. It also monitors the build status and stops following output when the build ends.

moduskube cloud aws codebuild build [OPTIONS] PROJECT

Options

-v, --source-version <source_version>

Version of source code to build.

-e, --env-var <env_var>

Environment variable overrides for build. Can be specified multiple times.

--stop-on-interrupt

Immediately stop build on keyboard interrupt (Ctrl+C) instead of prompting.

Default

False

-r, --region <region>

Required Name of AWS region

--watch, --no-watch

Watch build log as it updates

Default

True

Arguments

PROJECT

Required argument

Environment variables

MODUSKUBE_REGION

Provide a default for --region

logs

View build logs

moduskube cloud aws codebuild logs [OPTIONS] PROJECT

Options

-r, --region <region>

Required Name of AWS region

--watch, --no-watch

Watch build log as it updates

Default

True

Arguments

PROJECT

Required argument

Environment variables

MODUSKUBE_REGION

Provide a default for --region