Sha256: 802fa6a2a9ff9068e5c252d79bfac05ea7dc14425ae1dcde0b904286c796d96a
Contents?: true
Size: 752 Bytes
Versions: 9
Compression:
Stored size: 752 Bytes
Contents
module PracticeTerraforming module Resource class <%= camelize(resource) %> include PracticeTerraforming::Util # TODO: Select appropriate Client class from here: # http://docs.aws.amazon.com/sdkforruby/api/index.html def self.tf(client: Aws::SomeResource::Client.new) self.new(client).tf end # TODO: Select appropriate Client class from here: # http://docs.aws.amazon.com/sdkforruby/api/index.html def self.tfstate(client: Aws::SomeResource::Client.new) self.new(client).tfstate end def initialize(client) @client = client end def tf apply_template(@client, "tf/<%= resource %>") end def tfstate end end end end
Version data entries
9 entries across 9 versions & 1 rubygems