create location resource