1. Go to https://gitlab.com/DNXLabs/infra-dnx and clone "infra-dnx-notification".

2. Open the stack on VS Code.

3. Edit "_providers.tf" and add the new provider. E.g.


provider"aws"{
alias ="us-east-2"
region ="us-east-2"
assume_role {
role_arn ="arn:aws:iam::${var.aws_account_id}:role/${var.aws_role}"
}
}


4. Edit "sns.tf" and add the new sns monitoring block. E.g.


module"sns_monitoring_us_east_2"{
source ="git::https://github.com/DNXLabs/terraform-aws-sns.git?ref=0.1.4"

providers = {
aws = aws.us-east-2
}

topic_name = local.workspace["topic_name"]
slack_endpoint = local.workspace["slack_endpoint"]
account_ids = local.workspace["client_account_ids"]
}

output"monitoring_us_east_2_sns_topic_arn"{
value = module.sns_monitoring_us_east_2.aws_sns_topic_arn
}


5. Apply the stack.