Skip to content

Commit

Permalink
Do not require variables sub-object
Browse files Browse the repository at this point in the history
  • Loading branch information
Lepozepo committed Mar 26, 2020
1 parent 4447360 commit f805e7f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Lambda.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@ export default class Lambda extends pulumi.ComponentResource {
runtime,
timeout,
handler,
environment,
environment: {
variables: environment,
},
reservedConcurrentExecutions,
memorySize,
layers: [layer, ...layers],
Expand Down

0 comments on commit f805e7f

Please sign in to comment.