# airflowDeploy

Perform a deployment to an AWS Managed Workflows for Apache Airflow environment.

## Parameters

| Name                         | Description                                       | Type      | Default                                                             | Required |
|------------------------------|---------------------------------------------------|-----------|---------------------------------------------------------------------|----------|
| bucket                       | S3 bucket name for deployment artifacts           | `string`  | n/a                                                                 | yes      |
| environment                  | Environment to deploy to, e.g. dev, prod          | `string`  | n/a                                                                 | yes      |
| gitCommit                    | Git commit hash for the deployment                | `string`  | n/a                                                                 | yes      |
| kmsKeyId                     | KMS key ID to encrypt the deployment artifacts    | `string`  | n/a                                                                 | yes      |
| serviceName                  | Name of the Airflow service to deploy             | `string`  | n/a                                                                 | yes      |
| awsDeploymentRoleName        | The name of the IAM role to assume for deployment | `string`  | n/a                                                                 | no       |
| awsDeploymentTargetAccountId | The account ID to assume the role in              | `string`  | n/a                                                                 | no       |
| airflowToolsImage            | The URI of the Airflow tools image to use         | `string`  | `086679231553.dkr.ecr.us-east-1.amazonaws.com/airflow-tools:latest` | no       |
| bucketPrefix                 | S3 bucket prefix for the deployment artifacts     | `string`  | `''`                                                                | no       |
| dagsFolder                   | Path to the DAGs folder                           | `string`  | `./dags`                                                            | no       |
| requirementsFile             | Path to the requirements file                     | `string`  | `./requirements.txt`                                                | no       |
| rollback                     | Use this to rollback to a previous deployment     | `boolean` | `false`                                                             | no       |
