How to test the resources deployed in multiple regions
Default region is eu-central-1 and resource test failing on us-east-1
control "LambdaEdgeFunction" do
impact 1.0
title "Ensure AWS Lambda Edgefuntion has the correct properties."
for lambda in aws_lambda
describe aws_lambda(lambda) do
it { should exist }
end
end
end
How to test the resources deployed in multiple regions
Default region is eu-central-1 and resource test failing on us-east-1
control "LambdaEdgeFunction" do impact 1.0 title "Ensure AWS Lambda Edgefuntion has the correct properties." for lambda in aws_lambda describe aws_lambda(lambda) do it { should exist } end end end