Environment Variables

You can configure any environment variables you need on the Attini Runner via the image build process (ex Dockerfile) or using the ECS task definition.

However, the Attini Framework will automatically populate these environment variables:

ATTINI_ENVIRONMENT_NAME

The environment from the payload.

ATTINI_DISTRIBUTION_NAME

The distributionName from the payload.

ATTINI_DISTRIBUTION_ID

The distributionId from the payload.

ATTINI_ARTIFACT_STORE

The deploymentSource.deploymentSourceBucket from the payload.

ATTINI_DISTRIBUTION_ARTIFACTS_PREFIX

The deploymentSource.deploymentSourcePrefix from the payload.

ATTINI_INPUT

The location of a JSON file that contains the input payload. Find more information here.

ATTINI_OUTPUT

The location of a JSON file that the Attini Runner will pass as output to the payload. Find more information here.

ATTINI_SOURCE_DIR

The working directory from where the AttiniRunnerJob is executed. This directory will also contain all the original files from the Attini distribution.

ATTINI_STEP_NAME

The name of the deployment plan step name.

ATTINI_AWS_ACCOUNT

The current AWS Account.

ATTINI_AWS_REGION

The current AWS Region.