compose-x / ecs_composex

Manage, Configure and Deploy your services and AWS services and applications from your docker-compose definitions
https://docs.compose-x.io
Mozilla Public License 2.0
158 stars 16 forks source link

Randomizing base number for LB rule to allow for updates #729

Closed JohnPreston closed 6 months ago

JohnPreston commented 6 months ago

The absolute value of the rules doesn't matter unless there are existing ones. Therefore, by randomizing with an "offset", we change the rule although the order remains the same, simply by changing the priority.

This allows to update listener rules post create when adding new ones or changing the default one.

sonarcloud[bot] commented 6 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

JohnPreston commented 6 months ago

Worked for my environment.