inspec / inspec-aws

InSpec AWS Resource Pack https://www.inspec.io/
Other
136 stars 105 forks source link

Unable to access multiple regions while running an inspec test on Lambda funtion #956

Open prasuprasobh opened 1 year ago

prasuprasobh commented 1 year ago

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