Sha256: bbc812a061043c4dcc173ae24bc523cd4406169bae33fc5e38211eadac9658d3

Contents?: true

Size: 1.65 KB

Versions: 13

Compression:

Stored size: 1.65 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
Aws.config[:cloudformation] = {
  stub_responses: {
    describe_stacks: {
      stacks:  [
        {
          stack_id:
            'arn:aws:cloudformation:ap-northeast-1:123456789012:stack/my-cloudformation-stack/8ksdf6d0-7jia-1lo7-a9j7-5dca9ff482',
          stack_name: 'my-cloudformation-stack',
          change_set_id: nil,
          description: 'The AWS CloudFormation template for this Serverless application',
          parameters: [],
          creation_time: Time.new(2015, 1, 2, 10, 10, 00, '+00:00'),
          last_updated_time: Time.new(2015, 1, 2, 10, 10, 00, '+00:00'),
          stack_status: 'UPDATE_COMPLETE',
          stack_status_reason: nil,
          disable_rollback: false,
          notification_arns: [],
          timeout_in_minutes: nil,
          capabilities: %w[CAPABILITY_IAM CAPABILITY_NAMED_IAM],
          outputs:
            [
              {
                output_key: 'HandlerLambdaFunctionQualifiedArn',
                output_value:
                  'arn:aws:lambda:ap-northeast-1:123456789012:function:my-cloudformation-stack-handler:1',
                description: 'Current Lambda function version'
              },
              {
                output_key: 'ServerlessDeploymentBucketName',
                output_value:
                  'bucket-serverlessdeploymentbuck-sdifase69cjs',
                description: nil
              }
            ],
          role_arn: nil,
          tags:
            [
              {
                key: 'STAGE',
                value: 'production'
              }
            ]
        }
      ],
      next_token: nil
    }
  }
}

Version data entries

13 entries across 13 versions & 1 rubygems

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