diff --git a/terraform/aws-accounts/cloud-platform-aws/vpc/eks/components/components.tf b/terraform/aws-accounts/cloud-platform-aws/vpc/eks/components/components.tf index ff7c1396..d624accb 100644 --- a/terraform/aws-accounts/cloud-platform-aws/vpc/eks/components/components.tf +++ b/terraform/aws-accounts/cloud-platform-aws/vpc/eks/components/components.tf @@ -146,11 +146,12 @@ module "monitoring" { } module "opa" { - source = "github.com/ministryofjustice/cloud-platform-terraform-opa?ref=0.0.12" + source = "github.com/ministryofjustice/cloud-platform-terraform-opa?ref=0.0.13" depends_on = [module.monitoring, module.ingress_controllers, module.velero, module.cert_manager] cluster_domain_name = data.terraform_remote_state.cluster.outputs.cluster_domain_name enable_invalid_hostname_policy = lookup(local.prod_workspace, terraform.workspace, false) ? false : true + enable_external_dns_weight = terraform.workspace == "live" ? true : false } module "velero" {