ecs-airflow
datarootsio/ecs-airflow/aws
A terraform module that creates an airflow instance in AWS ECS.
       DEPRECATED: We are no longer actively maintaining this module, instead we recommend that you look into AWS MWAA as a replacement. Terraform module Airflo
| Name | Type | Description | Default |
|---|---|---|---|
| resource_prefix | string | A prefix for the create resources, example your company name (be aware of the re | required |
| public_subnet_ids | list(string) | A list of subnet ids of where the ALB will reside, if the "private_subnet_ids" v | required |
| vpc_id | string | The id of the vpc where you will run ECS/RDS | required |
| resource_suffix | string | A suffix for the created resources, example the environment for airflow to run i | required |
| airflow_container_home | string | Working dir for airflow (only change if you are using a different image) | "/opt/airflow" |
| rbac_admin_email | string | RBAC Email (only when airflow_authentication = 'rbac') | "admin@admin.com" |
| rbac_admin_firstname | string | RBAC Firstname (only when airflow_authentication = 'rbac') | "admin" |
| ecs_cpu | number | The allocated cpu for your airflow instance | 1024 |
| extra_tags | map(string) | Extra tags that you would like to add to all created resources | {} |
| airflow_py_requirements_path | string | The relative path to a python requirements.txt file to install extra packages in | "" |
| airflow_image_tag | string | The tag of the airflow image | "2.0.1" |
| rbac_admin_lastname | string | RBAC Lastname (only when airflow_authentication = 'rbac') | "airflow" |
| dns_name | string | The DNS name that will be used to expose Airflow. Optional if not serving over H | "" |
| certificate_arn | string | The ARN of the certificate that will be used | "" |
| postgres_uri | string | The postgres uri of your postgres db, if none provided a postgres db in rds is m | "" |
| region | string | The region to deploy your solution to | "eu-west-1" |
| rds_instance_class | string | The class of instance you want to give to your rds db | "db.t2.micro" |
| airflow_executor | string | The executor mode that airflow will use. Only allowed values are ["Local", "Sequ | "Local" |
| rbac_admin_password | string | RBAC Password (only when airflow_authentication = 'rbac') | "admin" |
| ecs_memory | number | The allocated memory for your airflow instance | 2048 |
| rds_password | string | Password of rds | "" |
| airflow_example_dag | bool | Add an example dag on startup (mostly for sanity check) | true |
| ip_allow_list | list(string) | A list of ip ranges that are allowed to access the airflow webserver, default: f | [
"0.0.0.0/0"
] |
| route53_zone_name | string | The name of a Route53 zone that will be used for the certificate validation. | "" |
| … and 1 more inputs | |||
airflow_task_iam_role — The IAM role of the airflow task, use this to give Airflow more permissionsairflow_connection_sg — The security group with which you can connect other instance to Airflow, for example EMR Livyairflow_alb_dns — The DNS name of the ALB, with this you can access the Airflow webserverairflow_dns_record — The created DNS record (only if "use_https" = true)