How to Resolve 'You Cannot Specify a Group ID for an Existing IPv4 CIDR Rule'【AWS】
Thank you for your continued support.
This article contains advertisements that help fund our operations.
Table Of Contents
A guide to resolving the 'You cannot specify a group ID for an existing IPv4 CIDR rule' error in AWS security group settings.
Error Message
You cannot specify a group ID for an existing IPv4 CIDR rule
Solution
Press the Add Rule
button again to add a new row, and configure the settings.
Background
Before encountering this error, I was initially specifying an IP address in this field instead of a security group. I removed the IP address and attempted to select a security group, which triggered the error.
Since the error indicated "You cannot specify a group ID for an existing IPv4 CIDR rule," I tried specifying the security group as a new entry, which resolved the issue.
I spent around 15 minutes troubleshooting this, so I hope this helps someone.