mwaa
aws-ia/mwaa/aws
Terraform module for Amazon MWAA(Apache Airflow)
Amazon Managed Workflows for Apache Airflow(MWAA) Module This terraform module can be used to deploy Amazon Managed Workflows for Apache Airflow(MWAA) environment. ✅ Deployment examples can be found under examples folder. ✅ Amazon MWAA documentation for more details about Amazon MWAA ✅ Amazon MWAA for Analytics Workshop Amazon MWAA Architecture Usage The example below builds Amazon MWAA environment with existing VPC and Private Subnets. Amazon MWAA supporting resources S3 bucket, IAM role and Security groups created by this module by default. This module allows you to bring your own S3 bucket, IAM role and Security group. ``hcl module "mwaa" { source = "aws-ia/mwaa/aws" name = "basic-mwaa" airflow_version = "2.2.2" environment_class = "mw1.medium" vpc_id = " " private_subnet_ids = [" "," "
| Name | Type | Description | Default |
|---|---|---|---|
| private_subnet_ids | list(string) | (Required) The private subnet IDs in which the environment should be created. MW | required |
| name | string | (Required) The name of the Apache Airflow MWAA Environment | required |
| dag_s3_path | string | (Required) The relative path to the DAG folder on your Amazon S3 storage bucket. | "dags" |
| environment_class | string | (Optional) Environment class for the cluster. Possible options are mw1.small, mw | "mw1.small" |
| security_group_ids | list(string) | Security group IDs for MWAA | [] |
| min_workers | number | (Optional) The minimum number of workers that you want to run in your environmen | 1 |
| startup_script_s3_path | string | (Optional) The relative path to the script hosted in your bucket. The script run | null |
| webserver_access_mode | string | (Optional) Specifies whether the webserver should be accessible over the interne | "PRIVATE_ONLY" |
| additional_principal_arns | list(string) | List of additional AWS principal ARNs | [] |
| source_bucket_arn | string | (Required) The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For | null |
| force_detach_policies | bool | IAM role Force detach policies | false |
| create_security_group | bool | Create security group for MWAA | true |
| logging_configuration | any | (Optional) The Apache Airflow logs which will be send to Amazon CloudWatch Logs. | null |
| plugins_s3_path | string | (Optional) The relative path to the plugins.zip file on your Amazon S3 storage b | null |
| requirements_s3_object_version | string | (Optional) The requirements.txt file version you want to use. | null |
| weekly_maintenance_window_start | string | (Optional) Specifies the start date for the weekly maintenance window | null |
| create_iam_role | bool | Create IAM role for MWAA | true |
| schedulers | string | (Optional) The number of schedulers that you want to run in your environment. | null |
| iam_role_permissions_boundary | string | IAM role Permission boundary | null |
| iam_role_path | string | IAM role path | "/" |
| execution_role_arn | string | (Required) The Amazon Resource Name (ARN) of the task execution role that the Am | null |
| source_cidr | list(string) | (Required) Source CIDR block which will be allowed on MWAA SG to access Airflow | [] |
mwaa_role_name — IAM role name of the MWAA Environmentmwaa_security_group_id — Security group id of the MWAA Environmentaws_s3_bucket_name — S3 bucket Name of the MWAA Environmentmwaa_webserver_url — The webserver URL of the MWAA Environmentmwaa_arn — The ARN of the MWAA Environmentmwaa_service_role_arn — The Service Role ARN of the Amazon MWAA Environmentmwaa_status — The status of the Amazon MWAA Environmentmwaa_role_arn — IAM Role ARN of the MWAA EnvironmentTerraform module for building and deploying Next.js apps to AWS. Supports SSR (L
Terraform module for provisioning an EKS cluster
Terraform module to generate well-formed JSON documents (container definitions)
Terraform module that provision an S3 bucket to store the terraform.tfstate file