Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(lambda): Push empty environment of vpc config if nil #1975

Merged

Conversation

MisterMX
Copy link
Collaborator

@MisterMX MisterMX commented Dec 13, 2023

Description of your changes

This removes the nil check in the function controller to send an empty array for VPC config and environment if the properties are nil.

Fixes #1872

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

Manually and unit tests.

Signed-off-by: Maximilian Blatt (external expert on behalf of DB Netz) <maximilian.blatt-extern@deutschebahn.com>
@MisterMX MisterMX merged commit 6e24fa1 into crossplane-contrib:master Dec 14, 2023
9 checks passed
@MisterMX MisterMX deleted the fix/lambda-vpc-env-update branch December 14, 2023 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to remove VPC & Environment Variables from Lambda
2 participants