def ssm_parameter_tmpfile(name)
      Tempfile.new(stack_name).tap do |file|
        file.write(ssm_parameter_get(name))
        File.chmod(0400, file.path)
        file.close
      end
    end
def ssm_parameter_tmpfile(name)
      Tempfile.new(stack_name).tap do |file|
        file.write(ssm_parameter_get(name))
        File.chmod(0400, file.path)
        file.close
      end
    end
get a parameter from the store to a Tmpfile