Not working
I tried creating a MWAA enivrement but it failed.
Here is the code used :
module "s3_bucket_mwaa" {
source = "git::https://git.cloud.safran/safrangrp/publiccloud/landingzone/shared-modules/terraform-aws-s3.git?ref=2.1.0"
security = var.security
environment = var.environment
company = var.company
service_id = var.service_id
name = "${var.custom_name}mwaabucket"
force_destroy = true
encryption_type = "s3"
}
module "mwaa" {
source = "git::https://git.cloud.safran/safrangrp/publiccloud/landingzone/shared-modules-dev/terraform-aws-mwaa?ref=fix-sls"
# -----------------------------------
# NAMING BLOCKS
# -----------------------------------
resourceprefix = "mwaa"
safran_region = "eu2"
zone = "z1"
environment = "dev"
app_name = "sls_pipeline"
freetext = "addmwaa"
# -----------------------------------
# TAG MANDATORY BLOCKS
# -----------------------------------
company = "sls"
service_id = "sls10516"
# -----------------------------------
# MWAA BLOCKS
# -----------------------------------
bucket_mwaa_arn = module.s3_bucket_mwaa.arn
region = "eu-west-3"
webserver_access_mode = "PRIVATE_ONLY"
mwaa_max_workers = 2
dag_processing_logs_level = "INFO"
scheduler_logs_level = "INFO"
task_logs_level = "INFO"
webserver_logs_level = "INFO"
worker_logs_level = "INFO"
}
As you can see I created a branch in the repository shared-modules-dev/terraform-aws-mwa but this branch only fix some minor issues and I do not think this is the cause of the issue.
For information, the vpc of the account has 3 subnets only have the standard vpc endpoints (it should not be an issue as mentioned here).