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.23.0 doc/_resource_types/subnet.md
awspec-1.22.1 doc/_resource_types/subnet.md
awspec-1.22.0 doc/_resource_types/subnet.md
awspec-1.21.1 doc/_resource_types/subnet.md
awspec-1.21.0 doc/_resource_types/subnet.md
awspec-1.20.0 doc/_resource_types/subnet.md
awspec-1.19.2 doc/_resource_types/subnet.md
awspec-1.19.1 doc/_resource_types/subnet.md
awspec-1.19.0 doc/_resource_types/subnet.md
cthiesfork-awspec-1.2.4 doc/_resource_types/subnet.md
awspec-api_gateway_extended-1.2.4 doc/_resource_types/subnet.md
awspec-api_gateway_extended-1.2.3 doc/_resource_types/subnet.md
awspec-1.18.6 doc/_resource_types/subnet.md
cthiesfork-awspec-1.2.2 doc/_resource_types/subnet.md
cthiesfork-awspec-1.2.1 doc/_resource_types/subnet.md
awspec-1.18.5 doc/_resource_types/subnet.md
cthiesfork-awspec-1.2.0 doc/_resource_types/subnet.md
cthiesfork-awspec-1.1.0 doc/_resource_types/subnet.md
cthiesfork-awspec-1.0.0 doc/_resource_types/subnet.md
awspec-1.18.4 doc/_resource_types/subnet.md