you need to indent this, plus there is a typo...

cloudify.relationship --> cloudify.relationships