lib/kite/terraform.rb in kite-1.0.4 vs lib/kite/terraform.rb in kite-1.0.6
- old
+ new
@@ -20,10 +20,10 @@
def load_env
load_vars
load_cloud
@vars.each do |var, val|
key = "TF_VAR_#{var}"
- ENV[key] = val
+ ENV[key] = val.to_s
STDERR.puts "%-25s: %s" % [key, ENV["TF_VAR_#{var}"]]
end
# TODO: Need to be set only in case of GCP
# ENV['GOOGLE_APPLICATION_CREDENTIALS'] = @vars["credentials"]