Sha256: bc45d90aa8071c8e7d00c21ae7ccffa06235d3c03e08ef2610b963438ab7b4bb

Contents?: true

Size: 531 Bytes

Versions: 12

Compression:

Stored size: 531 Bytes

Contents

# frozen_string_literal: true

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

12 entries across 12 versions & 1 rubygems

Version Path
awspec-1.30.0 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-1.29.3 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-1.29.2 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-1.29.1 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-1.29.0 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-1.28.2 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-1.28.1 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-1.28.0 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-1.27.1 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-1.27.0 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-1.26.0 lib/awspec/stub/ec2_has_multi_security_groups.rb
awspec-1.25.2 lib/awspec/stub/ec2_has_multi_security_groups.rb