"I love u guys so thankfull for this week in Rome [sic]," she wrote.
Vergara, 44, has posted her fair deal of snaps with Urban on social media, including one of them on set and a video showing the actors on the red carpet at the AMBI gala last week.
Urban, 44, plays the role of Danny Gallagher, a discredited detective seeking revenge on the person who framed him and killed his partner in Bent.
Vergara plays a ruthless and seductive government agent, who may or may not be on side with Urban's character.
The Kiwi actor has long been a household name in New Zealand, having appeared on local soap Shortland Street (as ambulance officer Jamie Forrest) in the early years of his career.
He also starred in television series hits Xena: Warrior Princess and Hercules: The Legendary Journeys, before getting his break in bigger films including Star Trek.
Urban was filming alongside Hollywood legend Al Pacino in thriller Hangman, in December 2016.
Urban released a photo of himself and Pacino while shooting on set in America.
In the movie, directed by Johnny Martin, the Kiwi actor plays a criminal profiler who works alongside Pacino, a decorated homicide detective, to catch a serial killer who draws inspiration from the children's game, Hangman.