Skip to content

Conversation

@awendt
Copy link
Contributor

@awendt awendt commented Mar 23, 2022

local.environment_variables is a merge from:

  • var.environment_variables (defaults to null)
  • local.secret_environment_variables (defaults to {})

and even merge(null, null) is an empty map.

This should stop passing an empty environment attr to aws_lambda_function which was introduced with #8.

local.environment_variables is a merge from:

- var.environment_variables (defaults to null)
- local.secret_environment_variables (defaults to {})

and even merge(null, null) is an empty map.
@awendt awendt self-assigned this Mar 23, 2022
@awendt awendt requested a review from a team March 23, 2022 15:02
@awendt awendt merged commit 04373ba into main Mar 23, 2022
@awendt awendt deleted the support-empty-lambda-env-vars branch March 23, 2022 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants