Sha256: cc0b954395947e997b33155966d86b9011fa866d121035cbc5e0317d09e1b934
Contents?: true
Size: 456 Bytes
Versions: 9
Compression:
Stored size: 456 Bytes
Contents
module Ruby module Terraform module Commands class ValidateCommand include ExecutionSupport attr_accessor :dir attr_accessor :json def initialize(opts = {}) @dir = opts[:dir] @json = opts[:json] end def command cmd = %W[#{tf_binary} validate] cmd += ['-json'] if json cmd += [dir] if dir cmd end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems