You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inspec 4.38.9+Train+Train-AWS are used as a AWS Lambda Layer
Scenario:
Hi all,
We are packaging Inspec as part of a Lambda layer. this has worked well so far, coming to upgrade to Inspec 4.38.9.
When installing Inspec 4.38.9, using Ruby 2.7.2 the train-aws gem gets installed as well (0.2.8).
When we launch the Lambda that runs Inspec (all gems are provided as a Lambda Layer, /opt/ruby/gems/2.7.0), we get the error that Train AWS plugin cannot be detected by Inspec.
Is there an environment variable or other Inspec configuration to specify where to lookup the plugins' gems?
Cross posting from train-aws - inspec/train-aws#207
Version:
4.38.9
Environment:
Inspec 4.38.9+Train+Train-AWS are used as a AWS Lambda Layer
Scenario:
Hi all,
We are packaging Inspec as part of a Lambda layer. this has worked well so far, coming to upgrade to Inspec 4.38.9.
When installing Inspec 4.38.9, using Ruby 2.7.2 the
train-aws
gem gets installed as well (0.2.8).When we launch the Lambda that runs Inspec (all gems are provided as a Lambda Layer, /opt/ruby/gems/2.7.0), we get the error that Train AWS plugin cannot be detected by Inspec.
Is there an environment variable or other Inspec configuration to specify where to lookup the plugins' gems?
Here is the error from Lambda Logs:
To Reproduce
Steps to reproduce the behavior:
Additional context
We currently use Inspec 4.16 which does not make use of Train based plugins.
Thank you
Steps to Reproduce:
filename
artifact as a layer to a Ruby2.7 Lambda and callExpected Result:
Inspec to run the tests
Version Information:
Actual Result:
The text was updated successfully, but these errors were encountered: