AWS MWAA Environment

This page shows how to write Terraform and CloudFormation for MWAA Environment and write them securely.

code-icon

Fix issues in your cloud & app configurations

Test for misconfigurations of this resource in your cloud.

get-started-button

Terraform Example (aws_mwaa_environment)

Creates a MWAA Environment resource.

Parameters

Example Usage (from GitHub)

github-iconinfracost/infracost
resource "aws_mwaa_environment" "default_environment_class" {
  dag_s3_path        = "dags/"
  execution_role_arn = "arn:aws:iam::123456789012:role/role"
  name               = "example"

  network_configuration {
github-iconpalsahota/elt-infrastructure
resource "aws_mwaa_environment" "test_mwaa" {
  dag_s3_path        = "dags/"
  execution_role_arn = aws_iam_role.mwaa_role.arn
  name               = "test_mwaa"

  network_configuration {
github-iconclaudiobizzotto/aws-mwaa-terraform-private
resource "aws_mwaa_environment" "mwaa_environment" {
  source_bucket_arn     = aws_s3_bucket.s3_bucket.arn
  dag_s3_path           = "dags"
  execution_role_arn    = aws_iam_role.iam_role.arn
  name                  = var.prefix
  max_workers           = var.mwaa_max_workers

CloudFormation Example (AWS::MWAA::Environment)

The AWS::MWAA::Environment resource creates an Amazon Managed Workflows for Apache Airflow (MWAA) environment. Topics+ Syntax+ Properties+ Return values+ Examples+ AWS::MWAA::Environment LoggingConfiguration+ AWS::MWAA::Environment ModuleLoggingConfiguration+ AWS::MWAA::Environment NetworkConfiguration

Parameters

Frequently asked questions

What is AWS MWAA Environment?

AWS MWAA Environment is a resource for MWAA of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.

Where can I find the example code for the AWS MWAA Environment?

For Terraform, the infracost/infracost, palsahota/elt-infrastructure and claudiobizzotto/aws-mwaa-terraform-private source code examples are useful. See the Terraform Example section for further details.