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 exec .\rdstest.rb -t aws://
[2024-01-23T06:24:29+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 git@github.com:inspec/inspec-aws.git . Resource 'aws_rds_instance' (used at ./rdstest.rb:4)
My Inspec profile does already depend on the inspec-aws resource pack:
name: test_aws
title: AWS InSpec Profile
maintainer: The Authors
copyright: The Authors
copyright_email: you@example.com
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
Below is deliberately left as a default empty string to allow the profile to run when this is not provided.
# Please see the README for more details.
value: ''
description: 'Optional Custom AWS VPC Id'
depends:
PS C:\Users\Administrator\test_aws\controls> inspec exec .\rdstest.rb -t aws:// --log-level=debug
[2024-01-23T06:38:49+00:00] DEBUG: Option backend_cache is enabled
[2024-01-23T06:38:49+00:00] DEBUG: Resolve .\rdstest.rb into cache C:/home/.inspec/cache
[2024-01-23T06:38:49+00:00] DEBUG: Dependency does not exist in the cache .\rdstest.rb
[2024-01-23T06:38:49+00:00] DEBUG: Starting run with targets: ["Inspec::Profile<tests from ..rdstest.rb>"]
[2024-01-23T06:38:49+00:00] DEBUG: Loading ./rdstest.rb into #Inspec::ProfileContext:0x00000278e568a000
[2024-01-23T06:38:49+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 git@github.com:inspec/inspec-aws.git . Resource 'aws_rds_instance' (used at ./rdstest.rb:4)
The text was updated successfully, but these errors were encountered:
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
[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 git@github.com:inspec/inspec-aws.git . Resource 'aws_rds_instance' (used at ./controls/rdstest.rb:4)
inspec exec .\rdstest.rb -t aws://
[2024-01-23T06:24:29+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 git@github.com:inspec/inspec-aws.git . Resource 'aws_rds_instance' (used at ./rdstest.rb:4)
My Inspec profile does already depend on the inspec-aws resource pack:
name: test_aws
title: AWS InSpec Profile
maintainer: The Authors
copyright: The Authors
copyright_email: you@example.com
license: Apache-2.0
summary: An InSpec Compliance Profile For AWS
version: 0.1.0
inspec_version: '~> 5'
inputs:
required: false
Below is deliberately left as a default empty string to allow the profile to run when this is not provided.
# Please see the README for more details.value: ''
description: 'Optional Custom AWS VPC Id'
depends:
git: git@github.com:inspec/inspec-aws.git
supports:
PS C:\Users\Administrator\test_aws\controls> inspec exec .\rdstest.rb -t aws:// --log-level=debug
[2024-01-23T06:38:49+00:00] DEBUG: Option backend_cache is enabled
[2024-01-23T06:38:49+00:00] DEBUG: Resolve .\rdstest.rb into cache C:/home/.inspec/cache
[2024-01-23T06:38:49+00:00] DEBUG: Dependency does not exist in the cache .\rdstest.rb
[2024-01-23T06:38:49+00:00] DEBUG: Starting run with targets: ["Inspec::Profile<tests from ..rdstest.rb>"]
[2024-01-23T06:38:49+00:00] DEBUG: Loading ./rdstest.rb into #Inspec::ProfileContext:0x00000278e568a000
[2024-01-23T06:38:49+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 git@github.com:inspec/inspec-aws.git . Resource 'aws_rds_instance' (used at ./rdstest.rb:4)
The text was updated successfully, but these errors were encountered: