Sha256: 23ae7ffd47d95397a06c96e034ca5672714f5373423f38d7cedb77bfa50bc3f8
Contents?: true
Size: 935 Bytes
Versions: 5
Compression:
Stored size: 935 Bytes
Contents
# frozen_string_literal: true require_relative 'base' require_relative '../options/common' module RubyTerraform module Commands class Import < Base include RubyTerraform::Options::Common def subcommands %w[import] end def options # rubocop:disable Metrics/MethodLength %w[ -config -backup -input -lock -lock-timeout -no-color -parallelism -provider -state -state-out -var -var-file -ignore-remote-version ] + super end def arguments(parameters) [parameters[:address], parameters[:id]] end def parameter_defaults(_parameters) { vars: {}, var_files: [] } end def parameter_overrides(parameters) { backup: parameters[:no_backup] ? '-' : parameters[:backup] } end end end end
Version data entries
5 entries across 5 versions & 1 rubygems