Skip to content

Instantly share code, notes, and snippets.

@AdrianM10
Created July 27, 2024 11:08
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