add not_if condition to execute resource