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.1.0.pre.35 lib/rspec/terraform/configuration/providers/in_memory.rb
rspec-terraform-0.1.0.pre.34 lib/rspec/terraform/configuration/providers/in_memory.rb
rspec-terraform-0.1.0.pre.33 lib/rspec/terraform/configuration/providers/in_memory.rb
rspec-terraform-0.1.0.pre.32 lib/rspec/terraform/configuration/providers/in_memory.rb
rspec-terraform-0.1.0.pre.31 lib/rspec/terraform/configuration/providers/in_memory.rb
rspec-terraform-0.1.0.pre.30 lib/rspec/terraform/configuration/providers/in_memory.rb