Code Monkey home page Code Monkey logo

Comments (2)

clintoncwolfe avatar clintoncwolfe commented on June 3, 2024

I'd make the following suggestions:

  • clear your inspec.lock . InSpec caches its dependency resolution.
  • could you post the contents of rdstest.rb ? That determines what is actually happening.

from inspec.

srishtirox avatar srishtirox commented on June 3, 2024

Downloaded the inspec-aws locally :

`PS C:\Users\Administrator\test_aws> ls

d---- 1/23/2024 6:23 AM controls
d---- 1/23/2024 5:51 PM inspec-aws
-a--- 1/23/2024 6:22 AM 96 inputs.yml
-a--- 1/23/2024 6:04 PM 608 inspec.yml
-a--- 1/23/2024 6:22 AM 9453 README.md`

Also updated the path in inspec.yml :

`name: test_aws
title: AWS InSpec Profile
maintainer: The Authors
copyright: The Authors
copyright_email: [email protected]
license: Apache-2.0
summary: An InSpec Compliance Profile For AWS
version: 0.1.0
inspec_version: '~> 5'
inputs:

  • name: aws_vpc_id
    required: false
    value: ''
    description: 'Optional Custom AWS VPC Id'
    depends:

    • name: inspec-aws
      path: C:\Users\Administrator\test_aws
      supports:
    • platform: aws`

    test control file :

    control 'aws-rds-01' do impact 1.0 title 'Check RDS instance existence' describe aws_rds_instance(db_instance_identifier: 'my_instance_id') do its ('db_instance_class') { should eq 'db.r6i.xlarge' } end end

Version :

PS C:\Users\Administrator\test_aws> inspec --version 5.22.36

Same error :

[2024-01-23T18:06:22+00:00] ERROR: DEPRECATION: AWS resources in core InSpec are deprecated and have been removed in InSpec 5. They are now part of a resource pack. Please update your profiles to depend on [email protected]:inspec/inspec-aws.git . Resource 'aws_rds_instance' (used at ./controls/rdstest.rb:4)

from inspec.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.