Sha256: f39fc75813f6f0ead3a65a4cba6dc15cb6406ad35bbcf17f79442d4370958213
Contents?: true
Size: 736 Bytes
Versions: 10
Compression:
Stored size: 736 Bytes
Contents
module Terraforming module Resource class <%= camelize(resource) %> include Terraforming::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
10 entries across 10 versions & 2 rubygems