class Terraspace::CLI::Tfc

Constants

Syncer
Workspace

Public Instance Methods

destroy(mod) click to toggle source
# File lib/terraspace/cli/tfc.rb, line 20
def destroy(mod)
  Workspace.new(options.merge(mod: mod)).destroy
end
list() click to toggle source
# File lib/terraspace/cli/tfc.rb, line 13
def list
  Workspace.new(options).list
end
sync(*stacks) click to toggle source
# File lib/terraspace/cli/tfc.rb, line 27
def sync(*stacks)
  Terraspace::CLI::Build::Placeholder.new(options).build
  Syncer.new(options.merge(stacks: stacks, override_auto_sync: true)).run
end