Fix conditional creating resource based on attribute