kitchen-terraform: Inspec AWS tests are skipped due to not supported platform

Using inspec 2.0 (that has introduced native support for AWS and a few other cloud providers) together with kitchen-terraform v3.3.1, I am having something like this:

  ↺  canary_bucket: S3 Bucket
     ↺  Resource Aws_s3_bucket is not supported on platform debian/9.3.

My understanding is that in inspec 2.0 they introduced the new platform types such as ‘aws’, while kitchen-terraform tells to inspec that the platform is whatever I run kitchen locally in.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 1
  • Comments: 18 (9 by maintainers)

Most upvoted comments

@TheDigitalNinja you need to use backend: aws to access InSpec’s AWS resources.

@llibicpep my mistake; over eager triaging! 😅

Kitchen Terraform Example for testing aws resources https://github.com/BensamV/kitchen-terraform-aws

This should be fixed with #247 .