inspec / inspec-aws

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

Work around for #977 #978

Closed aaronlippold closed 7 months ago

aaronlippold commented 7 months ago

The addition of the last line in the init method in the aws_backend seems to be breaking the resource pack because it doesn't account for the nil? case. Added a protection for this.

Review of why and for what function this was added 2 years ago may be useful but doesn't seem to be core to the function of the resources overall.

Description

Please describe what this change achieves. Ensure you have read the Contributing to InSpec AWS document before submitting.

Issues Resolved

Fixes #977

netlify[bot] commented 7 months ago

Deploy Preview for inspec-aws canceled.

Name Link
Latest commit 653b16e2cac1ac55cb3eeffcfff11aec9f20c61b
Latest deploy log https://app.netlify.com/sites/inspec-aws/deploys/654fbf4eeb3fb100084233c7
ahasunos commented 7 months ago

@aaronlippold the fix is made here: https://github.com/inspec/inspec-aws/pull/980