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-1.25.1 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-1.25.0 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-1.24.4 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-1.24.3 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-1.24.2 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-1.24.1 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-1.24.0 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-1.23.0 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-1.22.1 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-1.22.0 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-1.21.1 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-1.21.0 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-1.20.0 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-1.19.2 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-1.19.1 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-1.19.0 lib/awspec/stub/ec2_has_multi_security_groups.rb
cthiesfork-awspec-1.2.4 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-api_gateway_extended-1.2.4 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-api_gateway_extended-1.2.3 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-1.18.6 lib/awspec/stub/ec2_has_multi_security_groups.rb