code: def resolve_variable(provided_variable, blueprint_name):
      
      value = None
      if provided_variable:
          if not provided_variable.resolved:
              raise UnresolvedVariable(blueprint_name, provided_variable)
  
          value = provided_variable.value
  
      return value
docs: Resolve a provided variable value against the variable definition.
  
      This acts as a subset of resolve_variable logic in the base module, leaving
      out everything that doesn't apply to CFN parameters.
  
      Args:
          provided_variable (:class:`stacker.variables.Variable`): The variable
              value provided to the blueprint.
          blueprint_name (str): The name of the blueprint that the variable is
              being applied to.
  
      Returns:
          object: The resolved variable string value.
  
      Raises:
          UnresolvedVariable: Raised when the provided variable is not already
              resolved.