Skip to content

fix: ensure subnet strategy change do not affect specs ordering - #172

Merged
bornast merged 1 commit into
masterfrom
fix/vpc-subnet-specs-order
Mar 2, 2026
Merged

fix: ensure subnet strategy change do not affect specs ordering#172
bornast merged 1 commit into
masterfrom
fix/vpc-subnet-specs-order

Conversation

@droguljic

Copy link
Copy Markdown
Contributor

Change from Legacy to Auto subnet strategy affected subnet specs ordering. Auto uses the provided ordering while Legacy enforced Private, Public, Isolated ordering.
Ordering is updated to reflect one from Legacy strategy and thus avoid breaking changes.

Change from `Legacy` to `Auto` subnet strategy affected subnet specs
ordering. `Auto` uses the provided ordering while `Legacy` enforced
`Private`, `Public`, `Isolated` ordering.
Ordering is updated to reflect one from `Legacy` strategy and thus
avoid breaking changes.
@droguljic droguljic added this to the v2 milestone Feb 27, 2026
@bornast
bornast merged commit 395d149 into master Mar 2, 2026
2 checks passed
@bornast
bornast deleted the fix/vpc-subnet-specs-order branch March 2, 2026 08:44
enableDnsSupport: true,
subnetStrategy: enums.ec2.SubnetAllocationStrategy.Auto,
// Switching from `Legacy` to `Auto` strategy changed ordering of the specs
// `Auto` is using the provided ordering, while `Legacy` enforced `Private`, `Public`, `Isolated` ordering

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you mean by "Auto is using the provided ordering"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants