Skip to content

Commit

Permalink
UML-3155 Enable development eu_west_2 account (#2478)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Ainsworth authored Dec 29, 2023
1 parent 214533c commit 62cb06d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions terraform/account/region.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,24 @@ module "eu_west_1" {
aws.shared = aws.shared
}
}

module "eu_west_2" {
count = local.environment == "development" ? 1 : 0
source = "./region"

account = local.account
account_name = local.account_name
environment_name = local.environment
lambda_container_version = var.lambda_container_version
vpc_flow_logs_iam_role = aws_iam_role.vpc_flow_logs

depends_on = [
module.cloudwatch_mrk,
]

providers = {
aws.region = aws.eu_west_2
aws.management = aws.management
aws.shared = aws.shared
}
}

0 comments on commit 62cb06d

Please sign in to comment.