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

Version Path
awspec-1.12.5 doc/_resource_types/subnet.md
awspec-1.12.4 doc/_resource_types/subnet.md
awspec-1.12.3 doc/_resource_types/subnet.md
awspec-1.12.2 doc/_resource_types/subnet.md
awspec-1.12.1 doc/_resource_types/subnet.md
awspec-1.12.0 doc/_resource_types/subnet.md
awspec-1.11.1 doc/_resource_types/subnet.md
awspec-1.11.0 doc/_resource_types/subnet.md
awspec-1.10.0 doc/_resource_types/subnet.md
awspec-1.9.0 doc/_resource_types/subnet.md
awspec-1.8.0 doc/_resource_types/subnet.md
awspec-1.7.0 doc/_resource_types/subnet.md
awspec-1.6.1 doc/_resource_types/subnet.md
awspec-1.6.0 doc/_resource_types/subnet.md
awspec-1.5.4 doc/_resource_types/subnet.md
awspec-1.5.3 doc/_resource_types/subnet.md
awspec-1.5.2 doc/_resource_types/subnet.md
awspec-1.5.1 doc/_resource_types/subnet.md
awspec-1.5.0 doc/_resource_types/subnet.md
awspec-1.4.3 doc/_resource_types/subnet.md