Revert "[go] Set Lambda runtime to provided.al2" (#10864)

This reverts commit 4b8b4992c4.

We'll re-land this after Thanksgiving.
This commit is contained in:
Nathan Rajlich
2023-11-21 13:13:24 -08:00
committed by GitHub
parent 4b8b4992c4
commit 61a23f1382
3 changed files with 3 additions and 8 deletions

View File

@@ -50,7 +50,7 @@ export { shouldServe };
// we need our `main.go` to be called something else
const MAIN_GO_FILENAME = 'main__vc__go__.go';
const HANDLER_FILENAME = `bootstrap${OUT_EXTENSION}`;
const HANDLER_FILENAME = `handler${OUT_EXTENSION}`;
interface PortInfo {
port: number;
@@ -252,7 +252,7 @@ export async function build({
const lambda = new Lambda({
files: { ...(await glob('**', outDir)), ...includedFiles },
handler: HANDLER_FILENAME,
runtime: 'provided.al2',
runtime: 'go1.x',
supportsWrapper: true,
environment: {},
});