There are so many Listener rules in my alb.My serverless’s alb priority is set up to 1.This priority has already existed in alb.So the error above occurs.
events:
- alb:
priority: 1
I want this priority without hard code.Is there a way to insert rule with priority automatically?And can I set up priority with variable instead of hard code.