-
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
lambda - fix check mode on creation #1108
lambda - fix check mode on creation #1108
Conversation
Docs Build 📝Thank you for contribution!✨ This PR has been merged and your docs changes will be incorporated when they are next published. |
recheck |
54ebdd4
to
1cbbf46
Compare
@@ -260,8 +260,10 @@ def main(): | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if check_mode works correctly on lambda_execute, but I assume it's outside the scope of this PR.
The |
Backport to stable-3: 💚 backport PR created✅ Backport PR branch: Backported as #1128 🤖 @patchback |
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)
[PR #1108/0bde6bbd backport][stable-3] lambda - fix check mode on creation 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 Feature Pull Request Bugfix Pull Request COMPONENT NAME lambda Reviewed-by: Alina Buzachis <None>
lambda - fix check mode on creation Depends-On: ansible-collections#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 ansible-collections#1111 ISSUE TYPE Feature Pull Request Bugfix Pull Request COMPONENT NAME lambda Reviewed-by: Alina Buzachis <None> Reviewed-by: Markus Bergholz <[email protected]> This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections@0bde6bb
Bump main to 6.0.0-dev0 SUMMARY Bump galaxy.yml version to 6.0.0-dev0 so we can start landing breaking changes ISSUE TYPE Feature Pull Request COMPONENT NAME galaxy.yml ADDITIONAL INFORMATION (still draft because I expect deprecation related CI failures) Reviewed-by: Alina Buzachis <None>
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