It’s always best practice to secure the roof attachment to the rafters, but if you need the flexibility of attaching to the deck, you can do so by installing all 6 screws into the base.
In addition to the 2 center holes for rafter attached, the other 4 holes are angled slightly to increase the pullout values when attached to the decking.