From 1fc103bdece978037f19315ab7e9d4204c1f0341 Mon Sep 17 00:00:00 2001 From: Steven Hoang Date: Wed, 6 Mar 2024 13:57:32 +0800 Subject: [PATCH] Update AzureEnv.ts --- Common/AzureEnv.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Common/AzureEnv.ts b/Common/AzureEnv.ts index 916d7e82..dc1ebfd7 100644 --- a/Common/AzureEnv.ts +++ b/Common/AzureEnv.ts @@ -4,7 +4,7 @@ import { getKeyVaultName, getResourceGroupName } from './Naming'; import { ResourceInfoArg } from './ResourceEnv'; import { organization, projectName, stack } from './StackEnv'; -const config = JSON.parse(process.env.PULUMI_CONFIG ?? ''); +const config = JSON.parse(process.env.PULUMI_CONFIG ?? '{}'); export const tenantId = config['azure-native:config:tenantId'] as string; export const subscriptionId = config[ 'azure-native:config:subscriptionId'