World champions France, who lost the Euro 2016 final as hosts to Portugal, were guaranteed a ticket to next year's tournament before kick-off in Paris following a 0-0 draw between Turkey and Iceland.
Despite little playing time at Chelsea this season, Giroud retains the faith of Deschamps and the 33-year-old fired a sure strike past Hannes Halldorsson with a confident spot-kick.
Despite the goal drought, Deschamps stuck with the Chelsea striker, who featured in all of France's seven matches at the World Cup, and Giroud is happy to have played his role.
Giroud hopes to have kickstarted his Chelsea career after coming off the bench to inspire an eight-minute turnaround from 2-0 down to win 3-2 at Southampton on Saturday.
France forward Olivier Giroud said on Tuesday he will not accept a bit-part role with Arsenal next season.