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-0.6.10 lib/terraspace/mod/remote.rb
terraspace-0.6.9 lib/terraspace/mod/remote.rb
terraspace-0.6.8 lib/terraspace/mod/remote.rb
terraspace-0.6.7 lib/terraspace/mod/remote.rb
terraspace-0.6.6 lib/terraspace/mod/remote.rb
terraspace-0.6.5 lib/terraspace/mod/remote.rb
terraspace-0.6.4 lib/terraspace/mod/remote.rb
terraspace-0.6.3 lib/terraspace/mod/remote.rb
terraspace-0.6.2 lib/terraspace/mod/remote.rb
terraspace-0.6.1 lib/terraspace/mod/remote.rb
terraspace-0.6.0 lib/terraspace/mod/remote.rb
terraspace-0.5.12 lib/terraspace/mod/remote.rb
terraspace-0.5.11 lib/terraspace/mod/remote.rb
terraspace-0.5.10 lib/terraspace/mod/remote.rb
terraspace-0.5.9 lib/terraspace/mod/remote.rb
terraspace-0.5.8 lib/terraspace/mod/remote.rb
terraspace-0.5.7 lib/terraspace/mod/remote.rb
terraspace-0.5.6 lib/terraspace/mod/remote.rb
terraspace-0.5.5 lib/terraspace/mod/remote.rb
terraspace-0.5.4 lib/terraspace/mod/remote.rb