Sha256: 3ceb85ae9ddc5edfcd839870167d023577ff17edb2ad1c7ab83b4cb5185c21f0
Contents?: true
Size: 610 Bytes
Versions: 2
Compression:
Stored size: 610 Bytes
Contents
require 'active_support' require 'active_support/core_ext' module Dd2tf module Import class Base attr_reader :resources class NotImplementedError < StandardError; end def initialize(client) @client = client end def print resources.each do |resource| puts "terraform import #{resource_type}.#{resource[:resource_name]} #{resource[:resource_id]}" end nil end private def resources raise NotImplementedError end def resource_type raise NotImplementedError end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dd2tf-0.2.1 | lib/dd2tf/import/base.rb |
dd2tf-0.2.0 | lib/dd2tf/import/base.rb |