create spin resource