Sha256: b545db972088b09d8c8ade20788c976096a88246f6ba2948aed8da0d78eb9807

Contents?: true

Size: 500 Bytes

Versions: 117

Compression:

Stored size: 500 Bytes

Contents

require_relative '../stub/ec2'

stub_responses = Aws.config[:ec2][:stub_responses]

stub_responses[:describe_instances][:reservations][0][:instances][0][:security_groups] <<
  {
    group_id: 'sg-5e6f7gh8',
    group_name: 'my-security-group-name-2'
  }

stub_responses[:describe_security_groups][:security_groups] <<
  {
    group_id: 'sg-5e6f7gh8',
    group_name: 'my-security-group-name-2',
    tags: [
      {
        key: 'Name',
        value: 'my-security-group-tag-name-2'
      }
    ]
  }

Version data entries

117 entries across 117 versions & 4 rubygems

Version Path
awspec-0.79.1 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-0.79.0 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-0.78.1 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-0.77.1 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-0.77.0 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-0.76.1 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-0.76.0 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-0.75.2 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-0.75.1 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-0.75.0 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-0.74.1 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-0.74.0 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-0.73.2 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-0.73.1 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-0.73.0 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-0.72.0 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-0.71.0 lib/awspec/stub/ec2_has_multi_security_groups.rb