Sha256: b931e70d567636208a3fdc59715bbc0aa938b249490c818c9a5a3184ac4fc37e
Contents?: true
Size: 835 Bytes
Versions: 1
Compression:
Stored size: 835 Bytes
Contents
# frozen_string_literal: true require_relative 'base' module RubyTerraform module Commands class Apply < Base def subcommands(_values) %w[apply] end # rubocop:disable Metrics/MethodLength def options %w[ -auto-approve -backup -input -lock -lock-timeout -no-color -state -target -var -var-file ] end # rubocop:enable Metrics/MethodLength def arguments(values) [values[:plan] || values[:directory]] end def parameter_defaults(_parameters) { vars: {}, var_files: [], targets: [] } end def parameter_overrides(parameters) { backup: parameters[:no_backup] ? '-' : parameters[:backup] } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby-terraform-0.65.0.pre.9 | lib/ruby_terraform/commands/apply.rb |