perhaps it's worth explicitly checking that `amazons3` is one of the possible group values