Skip to content

undefined method `presence' for nil:NilClass #977

@uberjew666

Description

@uberjew666

Fresh install of inspec and inspec-bin using Ruby 3.1.2

Using inspec-aws 1.83.59 and using the initial testing module generating with

inspec init profile --platform aws my-profile

Executing with

inspec exec my-profile -t aws://

All environment variables setup correctly.

Describe the problem

This the output - this worked two days prior however no longer functions.

Profile:   AWS InSpec Profile (test)
Version:   0.1.0
Target:    aws://eu-west-1
Target ID: d7993ecd-2fd3-5904-8514-23f1031ccd74

  ↺  aws-single-vpc-exists-check: Check to see if custom VPC exists.
     ↺  undefined method `presence' for nil:NilClass
     Did you mean?  presence_in


Profile:   Amazon Web Services Resource Pack (inspec-aws)
Version:   1.83.59
Target:    aws://eu-west-1
Target ID: d7993ecd-2fd3-5904-8514-23f1031ccd74

     No tests executed.

Profile Summary: 0 successful controls, 0 control failures, 1 control skipped
Test Summary: 0 successful, 0 failures, 1 skipped

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions