Sha256: a741fb20e2e32e43c41874826074a8ec50081a5bc83339555610b69aca5560f4

Contents?: true

Size: 500 Bytes

Versions: 6

Compression:

Stored size: 500 Bytes

Contents

# frozen_string_literal: true

require_relative 'base'
require_relative '../options/common'

module RubyTerraform
  module Commands
    class ProvidersSchema < Base
      include RubyTerraform::Options::Common

      def subcommands
        %w[providers schema]
      end

      def options
        %w[-json] + super
      end

      def parameter_overrides(_parameters)
        # Terraform 0.15 - at this time, the -json flag is a required option.
        { json: true }
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ruby-terraform-0.65.0.pre.15 lib/ruby_terraform/commands/providers_schema.rb
ruby-terraform-0.65.0.pre.14 lib/ruby_terraform/commands/providers_schema.rb
ruby-terraform-0.65.0.pre.13 lib/ruby_terraform/commands/providers_schema.rb
ruby-terraform-0.65.0.pre.12 lib/ruby_terraform/commands/providers_schema.rb
ruby-terraform-0.65.0.pre.11 lib/ruby_terraform/commands/providers_schema.rb
ruby-terraform-0.65.0.pre.10 lib/ruby_terraform/commands/providers_schema.rb