lib/terraspace/plugin/expander/interface.rb in terraspace-2.0.1 vs lib/terraspace/plugin/expander/interface.rb in terraspace-2.0.2
- old
+ new
@@ -94,14 +94,15 @@
def mod_name
@mod.name
end
- def app; Terraspace.app ; end
- def role; Terraspace.role ; end
- def env; Terraspace.env ; end
- def extra; Terraspace.extra ; end
+ def app; Terraspace.app ; end
+ def env; Terraspace.env ; end
+ def extra; Terraspace.extra ; end
+ def project; Terraspace.project ; end
+ def role; Terraspace.role ; end
def type_instance
[type, instance].reject { |s| s.blank? }.join('-')
end
@@ -110,13 +111,9 @@
end
alias_method :instance_option, :instance
def cache_root
Terraspace.cache_root
- end
-
- def project
- Terraspace.config.cloud.project
end
# So default config works:
# config.cache_dir = ":REGION/:ENV/:BUILD_DIR"
# For when folks configure it with the http backend for non-cloud providers