I have a covered deck that is over my family room. It is part of
the roof, yet it is a covered deck.

It needs repair

It has/had an old layer of plywood, a worn out layer of some type of roofing and it had an old rubber astro turf type of carpet

I want suggestions of what is best to put down to keep this surface so the ceiling will not leak.

I am thinking of a new plywood, some type of roofing material over this and then covered with an outdoor carpet.

Thanks so very much