code: func Flatten(list cty.Value) (cty.Value, error) {
  	return FlattenFunc.Call([]cty.Value{list})
  }
docs: // Flatten takes a list and replaces any elements that are lists with a flattened
  // sequence of the list contents.