diff --git a/config/envs/default.py b/config/envs/default.py index a8401e99..9fb63c45 100644 --- a/config/envs/default.py +++ b/config/envs/default.py @@ -16,4 +16,4 @@ class DefaultConfig(object): FAB_SAVE_PER_PAGE = getenv("FAB_SAVE_PER_PAGE", "dev/save") FORM_RUNNER_URL = getenv("FORM_RUNNER_INTERNAL_HOST", "http://form-runner:3009") FORM_RUNNER_URL_REDIRECT = getenv("FORM_RUNNER_EXTERNAL_HOST", "http://localhost:3009") - SQLALCHEMY_DATABASE_URI = environ.get("DATABASE_URL").replace("postgres://", "postgresql://") + SQLALCHEMY_DATABASE_URI = environ.get("DATABASE_URL") diff --git a/copilot/fsd-fund-application-builder/addons/fsd-fund-application-builder-cluster.yml b/copilot/fsd-fund-application-builder/addons/fsd-fund-application-builder-cluster.yml index 6ce592f6..6c6ea3c7 100644 --- a/copilot/fsd-fund-application-builder/addons/fsd-fund-application-builder-cluster.yml +++ b/copilot/fsd-fund-application-builder/addons/fsd-fund-application-builder-cluster.yml @@ -165,7 +165,7 @@ Outputs: Description: "The URL of this database." Value: !Sub - - "postgres://${USERNAME}:${PASSWORD}@${HOSTNAME}:${PORT}/${DBNAME}" + - "postgresql://${USERNAME}:${PASSWORD}@${HOSTNAME}:${PORT}/${DBNAME}" - USERNAME: !Join [ "", [ '{{resolve:secretsmanager:', !Ref fsdfundapplicationbuilderclusterAuroraSecret, ":SecretString:username}}" ]] # pragma: allowlist secret PASSWORD: !Join [ "", [ '{{resolve:secretsmanager:', !Ref fsdfundapplicationbuilderclusterAuroraSecret, ":SecretString:password}}" ]] # pragma: allowlist secret HOSTNAME: !Join [ "", [ '{{resolve:secretsmanager:', !Ref fsdfundapplicationbuilderclusterAuroraSecret, ":SecretString:host}}" ]] # pragma: allowlist secret