Sha256: eaff002f3cd8b5f2fa92c9f334e55ae319b47514e3f42ab45a4848938da9d4f9

Contents?: true

Size: 449 Bytes

Versions: 101

Compression:

Stored size: 449 Bytes

Contents

class Terraspace::Mod
  class Remote < Terraspace::Mod
    def initialize(meta, parent)
      # meta: from .terraform/modules/modules.json. Example structure: spec/fixtures/initialized/modules.json
      # parent: parent module or stack. IE: terraspace build MOD
      @meta, @parent  = meta, parent
      @name = @meta['Key']
    end

    def root
      "#{@parent.cache_dir}/#{@meta['Dir']}"
    end

    def type
      "module"
    end
  end
end

Version data entries

101 entries across 101 versions & 1 rubygems

Version Path
terraspace-2.1.5 lib/terraspace/mod/remote.rb
terraspace-2.1.4 lib/terraspace/mod/remote.rb
terraspace-2.1.3 lib/terraspace/mod/remote.rb
terraspace-2.1.2 lib/terraspace/mod/remote.rb
terraspace-2.1.1 lib/terraspace/mod/remote.rb
terraspace-2.1.0 lib/terraspace/mod/remote.rb
terraspace-2.0.3 lib/terraspace/mod/remote.rb
terraspace-2.0.2 lib/terraspace/mod/remote.rb
terraspace-2.0.1 lib/terraspace/mod/remote.rb
terraspace-2.0.0 lib/terraspace/mod/remote.rb
terraspace-1.1.7 lib/terraspace/mod/remote.rb
terraspace-1.1.6 lib/terraspace/mod/remote.rb
terraspace-1.1.5 lib/terraspace/mod/remote.rb
terraspace-1.1.4 lib/terraspace/mod/remote.rb
terraspace-1.1.3 lib/terraspace/mod/remote.rb
terraspace-1.1.2 lib/terraspace/mod/remote.rb
terraspace-1.1.1 lib/terraspace/mod/remote.rb
terraspace-1.1.0 lib/terraspace/mod/remote.rb
terraspace-1.0.6 lib/terraspace/mod/remote.rb
terraspace-1.0.5 lib/terraspace/mod/remote.rb