Skip to content

Commit 4de0108

Browse files
committed
Refactor environment variables in restack_up.mjs
1 parent 4585ae0 commit 4de0108

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

posthog/restack_up.mjs

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -47,20 +47,7 @@ const main = async () => {
4747
name: 'engine-api',
4848
},
4949
],
50-
environmentVariables: [
51-
{
52-
name: 'RESTACK_ENGINE_ID',
53-
value: process.env.RESTACK_ENGINE_ID,
54-
},
55-
{
56-
name: 'RESTACK_ENGINE_ADDRESS',
57-
value: process.env.RESTACK_ENGINE_ADDRESS_WITHOUT_PORT,
58-
},
59-
{
60-
name: 'RESTACK_ENGINE_API_KEY',
61-
value: process.env.RESTACK_ENGINE_API_KEY,
62-
},
63-
],
50+
environmentVariables: [...restackEngineEnvs],
6451
};
6552

6653
await restackCloudClient.stack({

0 commit comments

Comments
 (0)