Skip to content

Set MAX_ACTIVE_ENCOUNTERS_PER_PATIENT_IN_FACILITY default to 1#16

Open
Copilot wants to merge 1 commit into
developfrom
copilot/set-default-max-active-encounters
Open

Set MAX_ACTIVE_ENCOUNTERS_PER_PATIENT_IN_FACILITY default to 1#16
Copilot wants to merge 1 commit into
developfrom
copilot/set-default-max-active-encounters

Conversation

Copilot AI commented Jun 12, 2026

Copy link
Copy Markdown

New environments need MAX_ACTIVE_ENCOUNTERS_PER_PATIENT_IN_FACILITY baked into the backend ConfigMap by default, while remaining overridable per environment.

Changes

  • deploy/locals.tf: added MAX_ACTIVE_ENCOUNTERS_PER_PATIENT_IN_FACILITY = "1" to the first map in local.config_map_data's merge(...). Because var.additional_config_map_data is the second argument to merge, env-specific tfvars still win.

Overriding per environment

additional_config_map_data = {
  MAX_ACTIVE_ENCOUNTERS_PER_PATIENT_IN_FACILITY = "5"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants