Skip to content

Updated the subnet struct and corresponding function to fetch the subnet CIDR range#1561

Merged
james00012 merged 1 commit intogruntwork-io:mainfrom
Atchuthmullapudi:patch-5
Jun 2, 2025
Merged

Updated the subnet struct and corresponding function to fetch the subnet CIDR range#1561
james00012 merged 1 commit intogruntwork-io:mainfrom
Atchuthmullapudi:patch-5

Conversation

@Atchuthmullapudi
Copy link
Copy Markdown
Contributor

Description:

1.Updated subnet struct to include CIDR block variable
2.Updated the function GetSubnetsForVpcE to assign the CIDR block value to the struct variable before returning.

By this update users can fetch the subnet CIDR along with the other details for writing tests, particularly this is usefull when user trying to check if the CIDR allocated to the created subnet is expected or not with out writing any extra code.

Copy link
Copy Markdown
Contributor

@james00012 james00012 left a comment

Choose a reason for hiding this comment

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

LGTM the failing test doesn't seem to be related to this change.

@james00012 james00012 merged commit 3982e2d into gruntwork-io:main Jun 2, 2025
2 checks passed
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.

2 participants