mwaa

aws-ia/mwaa/aws

Terraform Module HCL AWS ✓ Verified

Terraform module for Amazon MWAA(Apache Airflow)

Install
module "mwaa" {
source = "aws-ia/mwaa/aws"
version = "0.0.6"
}
⭐ Source on GitHub 📦 Registry page
README

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 = [" "," "

Inputs (36)
NameTypeDescriptionDefault
private_subnet_idslist(string)(Required) The private subnet IDs in which the environment should be created. MW required
namestring(Required) The name of the Apache Airflow MWAA Environment required
dag_s3_pathstring(Required) The relative path to the DAG folder on your Amazon S3 storage bucket."dags"
environment_classstring(Optional) Environment class for the cluster. Possible options are mw1.small, mw"mw1.small"
security_group_idslist(string)Security group IDs for MWAA[]
min_workersnumber(Optional) The minimum number of workers that you want to run in your environmen1
startup_script_s3_pathstring(Optional) The relative path to the script hosted in your bucket. The script runnull
webserver_access_modestring(Optional) Specifies whether the webserver should be accessible over the interne"PRIVATE_ONLY"
additional_principal_arnslist(string)List of additional AWS principal ARNs[]
source_bucket_arnstring(Required) The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For null
force_detach_policiesboolIAM role Force detach policiesfalse
create_security_groupboolCreate security group for MWAAtrue
logging_configurationany(Optional) The Apache Airflow logs which will be send to Amazon CloudWatch Logs.null
plugins_s3_pathstring(Optional) The relative path to the plugins.zip file on your Amazon S3 storage bnull
requirements_s3_object_versionstring(Optional) The requirements.txt file version you want to use.null
weekly_maintenance_window_startstring(Optional) Specifies the start date for the weekly maintenance windownull
create_iam_roleboolCreate IAM role for MWAAtrue
schedulersstring(Optional) The number of schedulers that you want to run in your environment.null
iam_role_permissions_boundarystringIAM role Permission boundarynull
iam_role_pathstringIAM role path"/"
execution_role_arnstring(Required) The Amazon Resource Name (ARN) of the task execution role that the Amnull
source_cidrlist(string)(Required) Source CIDR block which will be allowed on MWAA SG to access Airflow []
Outputs (8)
mwaa_role_name — IAM role name of the MWAA Environment
mwaa_security_group_id — Security group id of the MWAA Environment
aws_s3_bucket_name — S3 bucket Name of the MWAA Environment
mwaa_webserver_url — The webserver URL of the MWAA Environment
mwaa_arn — The ARN of the MWAA Environment
mwaa_service_role_arn — The Service Role ARN of the Amazon MWAA Environment
mwaa_status — The status of the Amazon MWAA Environment
mwaa_role_arn — IAM Role ARN of the MWAA Environment
Resources (10)
aws_iam_roleaws_iam_role_policyaws_iam_role_policy_attachmentaws_mwaa_environmentaws_s3_bucketaws_s3_bucket_public_access_blockaws_s3_bucket_server_side_encryption_configurationaws_s3_bucket_versioningaws_security_groupaws_security_group_rule
Details
FrameworkTerraform Module
LanguageHCL
Version0.0.6
Cloud AWS
★ Stars54
Forks73
Total downloads511.8k
Inputs36
Outputs8
Resources10
Examples1
LicenseApache-2.0
Namespaceaws-ia
Updated