DR Module Deployment Matrix

The base modules described in Terraform Modules. are deployed on all workspaces regardless of DR mode. The table below lists the additional DR-specific modules that are only deployed when dr is set. Neither module is created for non-DR clusters (dr="").

Module dr="active"dr="standby"Notes
module.global-dnsWhen manage_global_dns=trueNo — set manage_global_dns=false to avoid two states managing the same DNS resourcesDNS zone, steering policy, health checks.
module.dr-failover-functionNoWhen dr_failover_function_enabled=trueOCI Function, monitoring alarm, ONS topic, OCIR image, IAM policies.

Notes:

  • module.global-dns requires dr="active" and manage_global_dns=true. Only one workspace should own global DNS resources.

  • module.dr-failover-function requires dr="standby" AND dr_failover_function_enabled=true. It is automatically destroyed during promotion to dr="active".

  • Base modules behave identically across DR modes, except module.logscale which sets the Humio operator to 0 replicas when dr="standby".