Sha256: ed78a8fea5f6f46baac5c84db3ff7895383f1e3dbc8dca05dc4403bb6334fb4e

Contents?: true

Size: 1.31 KB

Versions: 86

Compression:

Stored size: 1.31 KB

Contents

Aws.config[:autoscaling] = {
  stub_responses: {
    describe_launch_configurations: {
      launch_configurations: [
        launch_configuration_name: 'my-lc',
        launch_configuration_arn:
          'arn:aws:autoscaling:ap-northeast-1:123456789012:launchConfiguration:\
1a11111b-22f2-3e33-444-55cf55e55555:launchConfigurationName/my-lc',
        image_id: 'ami-abc12def',
        key_name: 'my_key_pair',
        security_groups: ['sg-1a2b3cd4'],
        classic_link_vpc_id: nil,
        classic_link_vpc_security_groups: [],
        user_data: '',
        instance_type: 'c3.large',
        kernel_id: '',
        ramdisk_id: '',
        block_device_mappings: [],
        instance_monitoring: {
          enabled: true
        },
        spot_price: nil,
        iam_instance_profile: nil,
        created_time: Time.local(2015),
        ebs_optimized: false,
        associate_public_ip_address: true,
        placement_tenancy: nil
      ],
      next_token: nil
    }
  }
}

Aws.config[:ec2] = {
  stub_responses: {
    describe_security_groups: {
      security_groups: [
        {
          group_id: 'sg-1a2b3cd4',
          group_name: 'my-security-group-name',
          tags: [
            {
              key: 'Name',
              value: 'my-security-group-tag-name'
            }
          ]
        }
      ]
    }
  }
}

Version data entries

86 entries across 86 versions & 1 rubygems

Version Path
awspec-0.45.0 lib/awspec/stub/launch_configuration.rb
awspec-0.44.0 lib/awspec/stub/launch_configuration.rb
awspec-0.43.0 lib/awspec/stub/launch_configuration.rb
awspec-0.42.0 lib/awspec/stub/launch_configuration.rb
awspec-0.41.0 lib/awspec/stub/launch_configuration.rb
awspec-0.40.0 lib/awspec/stub/launch_configuration.rb
awspec-0.39.0 lib/awspec/stub/launch_configuration.rb
awspec-0.38.0 lib/awspec/stub/launch_configuration.rb
awspec-0.37.8 lib/awspec/stub/launch_configuration.rb
awspec-0.37.7 lib/awspec/stub/launch_configuration.rb
awspec-0.37.6 lib/awspec/stub/launch_configuration.rb
awspec-0.37.5 lib/awspec/stub/launch_configuration.rb
awspec-0.37.4 lib/awspec/stub/launch_configuration.rb
awspec-0.37.3 lib/awspec/stub/launch_configuration.rb
awspec-0.37.2 lib/awspec/stub/launch_configuration.rb
awspec-0.37.1 lib/awspec/stub/launch_configuration.rb
awspec-0.37.0 lib/awspec/stub/launch_configuration.rb
awspec-0.36.1 lib/awspec/stub/launch_configuration.rb
awspec-0.36.0 lib/awspec/stub/launch_configuration.rb
awspec-0.35.0 lib/awspec/stub/launch_configuration.rb