Replace resource specification with trunk specification