Sha256: 2d31e3a6ae7a7423bfe661cf37785ed6cc3091ebecbf6c659a3477de6c6cc74c

Contents?: true

Size: 562 Bytes

Versions: 26

Compression:

Stored size: 562 Bytes

Contents

# frozen_string_literal: true

require 'ruby_terraform'

require_relative './base'
require_relative '../merger'

module RSpec
  module Terraform
    module Configuration
      module Providers
        class InMemory < Base
          attr_reader(:configuration)

          def initialize(configuration = {})
            super()
            @configuration = configuration
            @merger = Merger.new
          end

          def resolve(overrides = {})
            @merger.merge(configuration, overrides)
          end
        end
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
rspec-terraform-0.5.0.pre.3 lib/rspec/terraform/configuration/providers/in_memory.rb
rspec-terraform-0.5.0.pre.2 lib/rspec/terraform/configuration/providers/in_memory.rb
rspec-terraform-0.5.0.pre.1 lib/rspec/terraform/configuration/providers/in_memory.rb
rspec-terraform-0.4.0 lib/rspec/terraform/configuration/providers/in_memory.rb
rspec-terraform-0.3.0.pre.1 lib/rspec/terraform/configuration/providers/in_memory.rb
rspec-terraform-0.2.0 lib/rspec/terraform/configuration/providers/in_memory.rb
rspec-terraform-0.1.0.pre.49 lib/rspec/terraform/configuration/providers/in_memory.rb
rspec-terraform-0.1.0.pre.48 lib/rspec/terraform/configuration/providers/in_memory.rb
rspec-terraform-0.1.0.pre.47 lib/rspec/terraform/configuration/providers/in_memory.rb
rspec-terraform-0.1.0.pre.46 lib/rspec/terraform/configuration/providers/in_memory.rb
rspec-terraform-0.1.0.pre.45 lib/rspec/terraform/configuration/providers/in_memory.rb
rspec-terraform-0.1.0.pre.44 lib/rspec/terraform/configuration/providers/in_memory.rb
rspec-terraform-0.1.0.pre.43 lib/rspec/terraform/configuration/providers/in_memory.rb
rspec-terraform-0.1.0.pre.42 lib/rspec/terraform/configuration/providers/in_memory.rb
rspec-terraform-0.1.0.pre.41 lib/rspec/terraform/configuration/providers/in_memory.rb
rspec-terraform-0.1.0.pre.40 lib/rspec/terraform/configuration/providers/in_memory.rb
rspec-terraform-0.1.0.pre.39 lib/rspec/terraform/configuration/providers/in_memory.rb
rspec-terraform-0.1.0.pre.38 lib/rspec/terraform/configuration/providers/in_memory.rb
rspec-terraform-0.1.0.pre.37 lib/rspec/terraform/configuration/providers/in_memory.rb
rspec-terraform-0.1.0.pre.36 lib/rspec/terraform/configuration/providers/in_memory.rb