Can't have conditionals within resources