-
Notifications
You must be signed in to change notification settings - Fork 397
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
[PR #1108/0bde6bbd backport][stable-3] lambda - fix check mode on creation #1128
Merged
softwarefactory-project-zuul
merged 1 commit into
stable-3
from
patchback/backports/stable-3/0bde6bbd55bd90c7d8585bb7d7a36c147f70bb56/pr-1108
May 6, 2022
Merged
[PR #1108/0bde6bbd backport][stable-3] lambda - fix check mode on creation #1128
softwarefactory-project-zuul
merged 1 commit into
stable-3
from
patchback/backports/stable-3/0bde6bbd55bd90c7d8585bb7d7a36c147f70bb56/pr-1108
May 6, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lambda - fix check mode on creation Depends-On: #1116 SUMMARY When adding integration tests for check mode runs, creating a lambda function failed on check mode with the message "Unable to get function information after creating". Added parameter kms_key_arn - testing in integration tests appears difficult as I think we'd need to create an IAM policy to allow for adding kms_key, which would render these tests as unsupported. Added extra waiter for function_update in execute_lambda to resolve occasional integration test failure. Fixes #1111 ISSUE TYPE Feature Pull Request Bugfix Pull Request COMPONENT NAME lambda Reviewed-by: Alina Buzachis <None> Reviewed-by: Markus Bergholz <[email protected]> (cherry picked from commit 0bde6bb)
ansibullbot
added
community_review
feature
This issue/PR relates to a feature request
integration
tests/integration
module
module
needs_triage
new_contributor
Help guide this first time contributor
plugins
plugin (any type)
tests
tests
labels
May 6, 2022
alinabuzachis
approved these changes
May 6, 2022
softwarefactory-project-zuul
bot
deleted the
patchback/backports/stable-3/0bde6bbd55bd90c7d8585bb7d7a36c147f70bb56/pr-1108
branch
May 6, 2022 17:05
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
community_review
feature
This issue/PR relates to a feature request
integration
tests/integration
mergeit
Merge the PR (SoftwareFactory)
module
module
needs_triage
new_contributor
Help guide this first time contributor
plugins
plugin (any type)
tests
tests
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a backport of PR #1108 as merged into main (0bde6bb).
Depends-On: #1116
SUMMARY
When adding integration tests for check mode runs, creating a lambda function failed on check mode with the message "Unable to get function information after creating".
Added parameter
kms_key_arn
- testing in integration tests appears difficult as I think we'd need to create an IAM policy to allow for adding kms_key, which would render these tests as unsupported.Added extra waiter for function_update in
execute_lambda
to resolve occasional integration test failure.Fixes #1111
ISSUE TYPE
COMPONENT NAME
lambda