Synopsis

attini deploy run [-bfh] [-cb] [-crl] [--json] [--skip-commands] [-e=<environment>] [-ec=<envConfigPath>] [-i=<distributionId>] [-p=<profile>] [-r=<region>] [-v=<version>] <path>

Description

Package and deploy a new distributions.

Options

-b, --blind, --dont-follow

Don’t follow the deployment and print info to the console.

-cb, --container-build

Run the package phase in a container using docker.

-crl, --container-repository-login

Run login commands before getting container image.

-e, --environment=<environment>

Specify an environment. Required if there is more then one environment configured in the account

-ec, --environment-config-script=<envConfigPath>

Optional path to a script file that will be executed before each package command execution phase. The file needs to be located inside the distribution and the path should be specified relative to the distribution root. Will only apply if not deploying an already packaged distribution.

-f, --force

Force the deployment. This will skipp the confirmation question for production environments.

-h, --help

Show information about this command.

-i, --distribution-id=<distributionId>

Specify a distribution id to set for the distribution during the package phase. Will be set before any prepackage commands are run. Will override any existing distributionId. Will be ignored if the path specifies an already packaged distribution.

--json

Use json as output format instead of yaml.

-p, --profile=<profile>

Specify a configured profile, if absent the default profile will be used.

-r, --region=<region>

Specify an aws region (ex eu-west-1), if absent the default region will be used.

--skip-commands

Don’t run the pre or post package commands defined in the attini-config file during the package phase. Will be ignored if the path specifies an already packaged distribution.

-v, --distribution-version=<version>

Specify a semantic version for the distribution. Will be executed during the package phase and will be ignored if the path specifies an already packaged distribution.

Arguments

<path>

Specify a path to a directory you wish do deploy. Required.