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: Performs plan-phase runtime check only if building package #359

Merged

Conversation

lorengordon
Copy link
Contributor

pip_requirements_step and npm_requirements_step are executed even when there is no requirements file, and so there is no package to build. The runtime check should occur only when the package is being built.

Motivation and Context

See #358 (comment)

Breaking Changes

The opposite! It fixes a breaking change.

How Has This Been Tested?

  • I have updated at least one of the examples/* to demonstrate and validate my change(s)
  • I have tested and validated these changes using one or more of the provided examples/* projects
  • I have executed pre-commit run -a on my pull request

@antonbabenko antonbabenko merged commit dfc8934 into terraform-aws-modules:master Oct 20, 2022
antonbabenko pushed a commit that referenced this pull request Oct 20, 2022
### [4.1.3](v4.1.2...v4.1.3) (2022-10-20)

### Bug Fixes

* Performs plan-phase runtime check only if building package ([#359](#359)) ([dfc8934](dfc8934))
@antonbabenko
Copy link
Member

This PR is included in version 4.1.3 🎉

@lorengordon lorengordon deleted the fix-check-runtime branch October 20, 2022 15:27
@lorengordon
Copy link
Contributor Author

@guyzyl Are you able to confirm that the current master branch or v4.1.3 fix the error you reported in #358?

@guyzyl
Copy link

guyzyl commented Oct 21, 2022

@lorengordon works perfectly now 👍

lorengordon pushed a commit to lorengordon/terraform-aws-lambda that referenced this pull request Oct 21, 2022
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants