Prime Minister Justin Trudeau isn't taking the bait set out by the Russian Embassy in Canada, which used Thursday's attack in Nice to go after NATO's mission in eastern Europe.

The Russian embassy tweeted its condolences to the French on Friday, hours after tweeting that NATO should focus on Islamic terrorism rather than Russian aggression.

"Terrorist attack in Nice - another wake up call to join efforts in fighting real threat, not NATO-devised phantoms," said the Russian Embassy in Canada Friday morning.

"Obsolete, irrelevant #NATO unable to meet real terrorist threat, wasting money and resources to provoke new Cold War... Utmostly myopic to succumb to NATO's build up at Russia's doorstep instead of joining efforts with Moscow to fight terrorism."

The tweets seem to be referring to the Islamic State in Iraq and Syria, which Russian President Vladimir Putin has targeted. Russia has carried out air strikes against ISIS in Syria.

NATO is not directly involved in the war against ISIS, but almost all of its members - including Canada - contribute to the U.S. coalition.

Last week, Canada committed hundreds of troops to an open-ended mission in Latvia, part of a multinational NATO operation in eastern Europe. Canada has already had soldiers doing military training in Ukraine and Poland and has sent ships to the Black Sea.

Asked about the embassy's tweets, Trudeau referred to last week's NATO summit in Warsaw, Poland, where he officially announced the deployment to Latvia.

"Canada is pleased to be able to step up as one of the lead framework nations in Operation Reassurance, which means that we're sending troops to Latvia to demonstrate that NATO stands solidly together against the troubling rhetoric, and indeed actions, in Ukraine," Trudeau said at a press conference in Calgary, referring to Russia's "illegal ways."

"NATO nations (are) firmly allied and determined to the kind of actions around defence and deterrence that global security needs," he said.

Earlier this week, NATO head Jens Stoltenberg said NATO has stepped up its support for Iraq to help the country stabilize itself and fight terrorism. He added that NATO is also working with partner countries in the region, such as Jordan and Tunisia. He also talked about NATO's military operation in Afghanistan, its biggest ever.

"NATO has to be able to respond to many different challenges at the same time, and at our summit in Warsaw we made important decisions to continue to play a key role in the fight against international terrorism," Stoltenberg said.