Skip to content

ESG ip subnet selector doesn’t accept IPv6 subnets #207

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
z2mi opened this issue Feb 25, 2025 · 1 comment
Open

ESG ip subnet selector doesn’t accept IPv6 subnets #207

z2mi opened this issue Feb 25, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@z2mi
Copy link

z2mi commented Feb 25, 2025

Hi,
Endpoint security group module doesn’t accept IPv6 subnets as ip subnet selector . Validation for ‘value’ variable only accepts IPv4 subnets.

@andbyrne andbyrne added the bug Something isn't working label Mar 11, 2025
@andbyrne
Copy link
Contributor

Regex in

for iss in var.ip_subnet_selectors : can(regex("^([0-9]{1,3}\\.){3}[0-9]{1,3}\\/([0-9]){1,2}$", iss.value))
should be updated to support IPv6 or removed altogether (most other modules do not perform regex validation of IP addresses).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants