Sha256: 74bd7136d6bf5371c249d6848cf2fbb5f5828b933903f73737fb352cf9b0c029
Contents?: true
Size: 634 Bytes
Versions: 194
Compression:
Stored size: 634 Bytes
Contents
### exist ```ruby describe subnet('my-subnet') do it { should exist } end ``` ### be_available, be_pending ```ruby describe subnet('my-subnet') do it { should be_available } end ``` ### have_tag ```ruby describe subnet('my-subnet') do it { should have_tag('Environment').value('QA') } end ``` ### advanced `subnet` can use `Aws::EC2::Subnet` resource (see http://docs.aws.amazon.com/sdkforruby/api/Aws/EC2/Subnet.html). ```ruby describe subnet('my-subnet') do its('vpc.id') { should eq 'vpc-ab123cde' } end ``` or ```ruby describe subnet('my-subnet') do its('resource.vpc.id') { should eq 'vpc-ab123cde' } end ```
Version data entries
194 entries across 194 versions & 4 rubygems