Shard and Zone awareness

I assume you want to make sure shards are distributed across different rack_id in order to make sure a failing rack can not affect all replicas of a shard. For this shard allocations awareness is the correct mechanism to use.

For the zone parameter I suspect you however want all shard in a single zone, so here you should instead use shard allocation filtering rather than awareness.