A list stores values in order and uses zero-based indexes. A map associates values with named keys. Choose a collection based on how you identify its members, not on how the declaration looks.
The first list element has index zero, while a map key is read by its exact name. A key that differs only in case is still a different key. In these tasks, a map holds the capacity for each service tier. Read the requested tier rather than copying whichever value appears first. A valid expression can still select the wrong environment without causing a type error.
The key selects a named value; map order is not a service identity.