From ed3187866fdc3d5b2ee11f1c43d711b17c3de328 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dafydd=20Ll=C5=B7r=20Pearson?= Date: Thu, 9 Jan 2025 22:59:05 +0000 Subject: [PATCH] fix: Pulumi output syntax [skip pizza] --- infrastructure/application/index.ts | 2 +- infrastructure/application/services/hasura.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/infrastructure/application/index.ts b/infrastructure/application/index.ts index af8523914e..46893c520b 100644 --- a/infrastructure/application/index.ts +++ b/infrastructure/application/index.ts @@ -114,7 +114,7 @@ export = async () => { vpc, }); - const dbRootUrl: string = config.requireSecret("db-url"); + const dbRootUrl = config.requireSecret("db-url").get(); // ----------------------- Metabase const pgRoot = url.parse(dbRootUrl); diff --git a/infrastructure/application/services/hasura.ts b/infrastructure/application/services/hasura.ts index 244bd566af..686828664f 100644 --- a/infrastructure/application/services/hasura.ts +++ b/infrastructure/application/services/hasura.ts @@ -20,7 +20,7 @@ export const createHasuraService = async ({ }: CreateService) => { const config = new pulumi.Config(); - const dbRootUrl: string = config.requireSecret("db-url"); + const dbRootUrl = config.requireSecret("db-url").get(); const DOMAIN: string = await certificates.requireOutputValue("domain"); const lbHasura = new awsx.lb.ApplicationLoadBalancer("hasura", {