split CreationFailure exception into ResourceExists and InvalidInput