Using resource name instead of :repo variable