diff --git a/packages/testing/src/TestStack.ts b/packages/testing/src/TestStack.ts index e2af18286..59bb97538 100644 --- a/packages/testing/src/TestStack.ts +++ b/packages/testing/src/TestStack.ts @@ -134,8 +134,11 @@ class TestStack { * It returns the outputs of the deployed stack. */ public async deploy(): Promise> { - const outdir = join(tmpdir(), 'powertools-e2e-testing'); - const outputFilePath = join(outdir, `${this.stack.stackName}.outputs.json`); + const outdir = join( + tmpdir(), + `${this.stack.stackName}-powertools-e2e-testing` + ); + const outputFilePath = join(outdir, 'outputs.json'); this.#cx = await this.#cli.fromAssemblyBuilder( async () => this.app.synth(), {