Sha256: 7c94bd559c32b34caa023d7318fdb90b6cbf523fcb41b163dd45d1aff882b665
Contents?: true
Size: 453 Bytes
Versions: 5
Compression:
Stored size: 453 Bytes
Contents
module Terraspace::Terraform class Cloud < Terraspace::CLI::Base extend Memoist def run return unless workspaces? api = Api.new(@mod, remote) api.set_working_dir api.set_env_vars end def workspaces? remote && remote['workspaces'] end def remote backend["remote"] end def backend Terraspace::Compiler::Backend::Parser.new(@mod).result end memoize :backend end end
Version data entries
5 entries across 5 versions & 1 rubygems