/test_lambda_ddb_function.py Secret
Created
July 27, 2024 11:08
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
def test_lambda_ddb_function(): | |
template = rss_template() | |
# Check that 2 lambda functions have been created | |
template.resource_count_is("AWS::Lambda::Function", 2) | |
# Check the runtime is Python 3.12 | |
template.all_resources_properties( | |
"AWS::Lambda::Function", | |
{ | |
"Runtime": "python3.12", | |
}, | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment