The habitats where thrift~(Armeria maritima) grows:

Alpine and subalpine calcareous grassland
Coastal vegetated shingle
Crevice scree and spoil
Hard cliff and cliff slope
Hedgerow scrub
High montane heath and snow bed
Lowland calcareous grassland
Lowland dry acid grassland
Lowland dry heath
Lowland fen
Maritime cliff
Mixed scrub
Montane dwarf shrub heath
Mountain ledge
Nutrient rich eutrophic lake
Reedbed
Saline lagoon
Salt marsh
Sand dune
Upland calcareous grassland
Upland dry heath
Upland spring flush
Valley mire