code: def resolve_variables(self, provided_variables):
          
          self.resolved_variables = {}
          defined_variables = self.defined_variables()
          variable_dict = dict((var.name, var) for var in provided_variables)
          for var_name, var_def in defined_variables.items():
              value = resolve_variable(
                  var_name,
                  var_def,
                  variable_dict.get(var_name),
                  self.name
              )
              self.resolved_variables[var_name] = value
docs: Resolve the values of the blueprint variables.
  
          This will resolve the values of the `VARIABLES` with values from the
          env file, the config, and any lookups resolved.
  
          Args:
              provided_variables (list of :class:`stacker.variables.Variable`):
                  list of provided variables