Skip to content

Commit 5481c55

Browse files
authored
feat: propagate lambda specific environment variables into the lambda env file (#19)
1 parent 3ca0978 commit 5481c55

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/commands/types/index.ts

+4
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ export async function handler(_argv: ReturnType<typeof builder>['argv']): Promis
5656
// @todo add secrets and parameters
5757
}
5858

59+
for (const key in eitherHandler.right.environment ?? {}) {
60+
constants[camelcase(key)] = key
61+
}
62+
5963
const handlerName = path.basename(handler)
6064

6165
const writer = createWriter()

0 commit comments

Comments
 (0)