class Idlc::Deploy::Config
def validate_environment
def validate_environment %w[ TF_VAR_tfstate_bucket TF_VAR_job_code TF_VAR_env TF_VAR_domain ].each do |var| raise "missing #{var} in environment" unless ENV.include? var end end
def validate_environment %w[ TF_VAR_tfstate_bucket TF_VAR_job_code TF_VAR_env TF_VAR_domain ].each do |var| raise "missing #{var} in environment" unless ENV.include? var end end