Sha256: 659f88b67a9d3f6ef7a60cbbcfb4c3d6b886736eee23ee08852e6a4f68edf1f8
Contents?: true
Size: 704 Bytes
Versions: 6
Compression:
Stored size: 704 Bytes
Contents
# frozen_string_literal: true require_relative 'base' require_relative '../options/common' module RubyTerraform module Commands class StateReplaceProvider < Base include RubyTerraform::Options::Common def subcommands %w[state replace-provider] end def options %w[ -auto-approve -backup -lock -lock-timeout -state -ignore-remote-version ] + super end def arguments(parameters) [parameters[:from], parameters[:to]] end def parameter_overrides(parameters) { backup: parameters[:no_backup] ? '-' : parameters[:backup] } end end end end
Version data entries
6 entries across 6 versions & 1 rubygems