diff --git a/data_safe_haven/infrastructure/programs/declarative_sre.py b/data_safe_haven/infrastructure/programs/declarative_sre.py index 573d787788..79a9dcba74 100644 --- a/data_safe_haven/infrastructure/programs/declarative_sre.py +++ b/data_safe_haven/infrastructure/programs/declarative_sre.py @@ -349,8 +349,10 @@ def __call__(self) -> None: clamav_mirror_hostname=clamav_mirror.hostname, database_service_admin_password=data.password_database_service_admin, dns_private_zones=dns.private_zones, - internal_gitea_hostname=user_services.gitea_server[0].hostname, - external_gitea_hostname=user_services.gitea_server[1].hostname, + gitea_hostnames={ + availability: server.hostname + for (availability, server) in user_services.gitea_server.items() + }, hedgedoc_hostname=user_services.hedgedoc_server.hostname, ldap_group_filter=ldap_group_filter, ldap_group_search_base=ldap_group_search_base,