Rick’s suggestion of using a texture is good but if you really want to use geometry, make a tile component and use it in an array.
Trim the tiles along the sides after using Make Unique as needed. The ridge tiles would be a different component.