Skip to content

Instantly share code, notes, and snippets.

View nelsonjr's full-sized avatar

Nelson Araujo nelsonjr

View GitHub Profile
describe Provider::Terraform::ResourceOverride do
context 'good resource' do
let(:resource) do
Provider::Terraform::ResourceOverride.parse(
IO.read('spec/data/good-resource.yaml')
)
end
subject { -> { resource.description } }
$ kitchen diagnose --all
---
timestamp: 2017-12-14 22:13:44 UTC
kitchen_version: 1.19.2
plugins:
driver:
Vagrant:
class: Kitchen::Driver::Vagrant
version: 1.2.1
api_version: 2
$ kitchen create
-----> Starting Kitchen (v1.19.2)
-----> Creating <default-ubuntu-1604>...
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'bento/ubuntu-16.04' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
==> default: Loading metadata for box 'bento/ubuntu-16.04'
default: URL: https://vagrantcloud.com/bento/ubuntu-16.04
==> default: Adding box 'bento/ubuntu-16.04' (v201710.25.0) for provider: virtualbox