mirror of
https://github.com/inspec/inspec
synced 2024-09-21 06:51:56 +00:00
#13, Ec2#exists returns false positives
Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
This commit is contained in:
parent
892d11aef2
commit
3cad7d1e78
1 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,9 @@
|
|||
describe aws_ec2(name: 'Example') do
|
||||
it { should be_running }
|
||||
it { should exist }
|
||||
its('image_id') { should eq 'ami-0d729a60' }
|
||||
its('instance_type') { should eq 't2.micro' }
|
||||
end
|
||||
|
||||
describe aws_ec2('i-missing') do
|
||||
it { should_not exist }
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue