mwaa
idealo/mwaa/aws
Terraform module to setup Managed Workflows with Apache Airflow. (Airflow as managed service by AWS)
AWS MWAA Terraform Module Terraform module which creates AWS MWAA resources and connects them together. How to Contribute If the automated doc generation (listed under checks) fails as part of a PR from a fork, please mention us in the PR conversation or raise an issue. Use Use this code to create a basic MWAA environment (using all default parameters, see Inputs): ``terraform module "airflow" { source = "idealo/mwaa/aws" version = "x.x.x" account_id = "12345679" environment_name = "MyEnvironment" internet_gateway_id = "ig-12345" private_subnet_cidrs = ["10.0.1.0/24","10.0.2.0/24"] # depending on your vpc ip range public_subnet_cidrs = ["10.0.3.0/24","10.0.4.0/24"] # depending on your vpc ip range region = "us-west-1" source_bucket_arn = "arn:aws:s3:::MyMwaaBucket" vpc_id = "vpc-12345" } `
| Name | Type | Description | Default |
|---|---|---|---|
| vpc_id | string | VPC id of the VPC in which the environments resources are created | required |
| source_bucket_arn | string | ARN of the bucket in which DAGs, Plugin and Requirements are put | required |
| environment_name | string | Name of the MWAA environment | required |
| account_id | string | Account ID of the account in which MWAA will be started | required |
| region | string | AWS Region where the environment and its resources will be created | required |
| private_subnet_cidrs | list(string) | CIDR blocks for the private subnets MWAA uses. Must be at least 2 if create_netw | [] |
| webserver_access_mode | string | Default: PRIVATE_ONLY | null |
| task_logs_level | string | One of: DEBUG, INFO, WARNING, ERROR, CRITICAL | "INFO" |
| worker_logs_level | string | One of: DEBUG, INFO, WARNING, ERROR, CRITICAL | "WARNING" |
| airflow_version | string | Airflow version to be used | "2.0.2" |
| requirements_s3_object_version | string | null | |
| startup_script_s3_object_version | string | null | |
| webserver_logs_enabled | bool | true | |
| dag_s3_path | string | Relative path of the dags folder within the source bucket | "dags/" |
| requirements_s3_path | string | relative path of the requirements.txt (incl. filename) within the source bucket | null |
| environment_class | string | "mw1.small" | |
| airflow_configuration_options | map(string) | additional configuration to overwrite airflows standard config | {} |
| public_subnet_cidrs | list(string) | CIDR blocks for the public subnets MWAA uses. Must be at least 2 if create_netwo | [] |
| enable_ipv6_in_security_group | bool | Enable IPv6 in the security group | false |
| webserver_logs_level | string | One of: DEBUG, INFO, WARNING, ERROR, CRITICAL | "WARNING" |
| kms_key_arn | string | KMS CMK ARN to use by MWAA for data encryption. MUST reference the same KMS key | null |
| dag_processing_logs_enabled | bool | true | |
| worker_logs_enabled | bool | true | |
| dag_processing_logs_level | string | One of: DEBUG, INFO, WARNING, ERROR, CRITICAL | "WARNING" |
| scheduler_logs_level | string | One of: DEBUG, INFO, WARNING, ERROR, CRITICAL | "WARNING" |
mwaa_arn — The arn of the created MWAA environment.mwaa_execution_role_arn — The IAM Role arn for MWAA Execution Role.mwaa_service_role_arn — The Service Role arn for MWAA environment.mwaa_nat_gateway_public_ips — List of the ips of the nat gateways created by this module.mwaa_webserver_url — The webserver URL of the MWAA Environment.mwaa_security_group_id — The security group id of the MWAA Environment.Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Azure Verified Pattern Module for Azure Landing Zone
Terraform Azure Verified Resource Module for Key Vault
Terraform module for building and deploying Next.js apps to AWS. Supports SSR (L