Skip to content

Commit

Permalink
Various integration test fixes (ansible-collections#984)
Browse files Browse the repository at this point in the history
Various integration test fixes

SUMMARY

Updates the version of Python used by lambda in the lambda_alias, lambda_policy and aws_secret integration tests
Updates the version of NodeJS used by the lambda in the lamba integration tests
Adds a retry to the s3_bucket_notification tests, permissions are sometimes a little slow to update
Cleans up Snapshots from rds_instance integration tests
Disables broken WAFv2 integration test (ansible-collections#985)

Fixes: ansible-collections#976
ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME
aws_secret
lambda
lambda_alias
lambda_policy
rds_policy
s3_bucket_notification
wafv2
ADDITIONAL INFORMATION
Amazon appear to have dropped support for creating Python2.7 lambdas:
botocore.errorfactory.InvalidParameterValueException: An error occurred (InvalidParameterValueException) when calling the CreateFunction operation: The runtime parameter of python2.7 is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (python3.9) while creating or updating functions.

Reviewed-by: Alina Buzachis <None>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@c5e4640
  • Loading branch information
tremble authored and goneri committed Sep 21, 2022
1 parent 52d83fa commit 99f5914
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@
- "result.snapshots.0.engine == 'mariadb'"

always:
- name: remove snapshot
- name: remove final snapshot
rds_instance_snapshot:
db_snapshot_identifier: "{{ tiny_prefix }}-test-snapshot"
db_snapshot_identifier: "{{ instance_id }}"
state: absent
wait: false
ignore_errors: yes
Expand Down

0 comments on commit 99f5914

Please sign in to comment.