Skip to content

CLI Usage

Michael Neil edited this page Sep 28, 2018 · 9 revisions

CLI usage

Check out the following pages for details on specific subcommands:

  • Environments - managing VPCs, ECS clusters, container instances and ALBs
  • Services - managing ECS service configuration
  • Databases - managing RDS configuration
  • Pipelines - managing continuous delivery pipelines
  • Validate - validate mu.yml configuration file

The following args are available on all subcommands:

# Path to mu config
> mu -c path/to/mu.yml ...

# AWS region
> mu -r us-west-2 ...

# or via environment variable
> AWS_REGION=us-west-2 mu ...

# AWS profile
> mu -p my-profile ...

# or via environment variable
> AWS_PROFILE=my-profie mu ...

# Assume role role before connecting to AWS service
> mu -a arn:aws:iam....

# Use a different namespace for your cloudformation stacks (default: "mu")
> mu -n foo ...

# Allows the replacement or deletion of Databases Or KMS Keys
> mu --allow-data-loss