Skip to content

Commit

Permalink
chore(sveltekit-adapter): mv index to root to avoid bug
Browse files Browse the repository at this point in the history
@see [github:pulumi#11243](pulumi/pulumi#11243)
  • Loading branch information
lukaskoeller committed Apr 12, 2023
1 parent 2b373fb commit 86091e4
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -289,13 +289,14 @@ async function deployServerStack({
MEMORY_SIZE,
}) {
// Setup server stack.
const serverPath = join(__dirname, 'stacks', 'server')
const serverPath = join(__dirname, 'stacks', 'server');
/** @type {import('@pulumi/pulumi/automation/index.js').LocalProgramArgs} */
const serverArgs = {
stackName: stackName,
workDir: serverPath,
};

console.log('enter serverStack', serverArgs);
const serverStack = await LocalWorkspace.createOrSelectStack(
serverArgs,
{
Expand All @@ -304,6 +305,7 @@ async function deployServerStack({
}
},
);
console.log('serverStack', serverStack);

// Set the AWS region.
await serverStack.setConfig("aws:region", { value: zoneName });
Expand All @@ -315,7 +317,6 @@ async function deployServerStack({
memorySizeStr: { value: String(MEMORY_SIZE) },
});


const serverStackUpResult = await serverStack.up({
onOutput: console.info,
});
Expand Down

0 comments on commit 86091e4

Please sign in to comment.