feat(awslambda): New check to ensure that a function is inside VPC (#4783)

Co-authored-by: Sergio Garcia <38561120+sergargar@users.noreply.github.com>
This commit is contained in:
Rubén De la Torre VicoandSergio Garcia authored and GitHub committed 2024-08-19 14:22:21 -04:00
1 parent 8483486095
commit 1a8bc14587
6 files changed
+217 -3

No files matched your search

@@ -220,6 +220,7 @@ class Test_Lambda_Service:
assert awslambda.functions[
lambda_arn_1
].url_config.cors_config.allow_origins == ["*"]
assert awslambda.functions[lambda_arn_1].vpc_id == "vpc-123abc"
assert awslambda.functions[lambda_arn_1].tags == [{"test": "test"}]