diff --git a/terraform/main.tf b/terraform/main.tf index 4303486..7e89aac 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -142,3 +142,8 @@ module "cognito-auth" { cognito_user_pool_id = var.cognito_user_pool_id aws_elb_account_id_for_the_region = var.aws_elb_account_id_for_the_region } + +# Output the ALB URL for Airflow UI +output "pds_nucleus_airflow_ui_url" { + value = nonsensitive(module.cognito-auth.pds_nucleus_airflow_ui_url) +} diff --git a/terraform/terraform-modules/cognito-auth/cognito-auth.tf b/terraform/terraform-modules/cognito-auth/cognito-auth.tf index 93453d6..7ee0197 100644 --- a/terraform/terraform-modules/cognito-auth/cognito-auth.tf +++ b/terraform/terraform-modules/cognito-auth/cognito-auth.tf @@ -443,3 +443,7 @@ resource "aws_cognito_user_group" "pds_nucleus_viewer_cognito_user_group" { precedence = 65 role_arn = aws_iam_role.pds_nucleus_viewer_role.arn } + +output "pds_nucleus_airflow_ui_url" { + value = "https://${aws_lb.pds_nucleus_auth_alb.dns_name}:${var.auth_alb_listener_port}/aws_mwaa/aws-console-sso" +} diff --git a/terraform/terraform-modules/cognito-auth/variables.tf b/terraform/terraform-modules/cognito-auth/variables.tf index 1858d53..54093b1 100644 --- a/terraform/terraform-modules/cognito-auth/variables.tf +++ b/terraform/terraform-modules/cognito-auth/variables.tf @@ -43,7 +43,6 @@ variable "auth_alb_name" { variable "auth_alb_listener_port" { description = "Auth ALB Listener Port" type = string - sensitive = true } variable "auth_alb_listener_certificate_arn" { diff --git a/terraform/terraform-modules/product-copy-completion-checker/product-copy-completion-checker.tf b/terraform/terraform-modules/product-copy-completion-checker/product-copy-completion-checker.tf index 34a41e9..a65060e 100644 --- a/terraform/terraform-modules/product-copy-completion-checker/product-copy-completion-checker.tf +++ b/terraform/terraform-modules/product-copy-completion-checker/product-copy-completion-checker.tf @@ -51,7 +51,7 @@ resource "aws_rds_cluster" "default" { } lifecycle { - ignore_changes = ["availability_zones"] + ignore_changes = [availability_zones] } }