Find answers, ask questions, and connect with our
community around the world.

Home Forums AWS AWS Certified Solutions Architect Professional Bonus exam: Restrict SG rules Reply To: Bonus exam: Restrict SG rules

  • Carlo-TutorialsDojo

    January 8, 2024 at 6:08 pm

    Hello Guillermo,

    We acknowledge this mistake on our part. You’re right. The aws:SourceIp condition key pertains to the requester’s IP address, not the IP address being specified in the security group rule. Unfortunately, there’s no direct condition key for matching the contents of a security group rule to the one the request contains. One workaround to proactively prevent users from messing with inbound rules is by tagging the critical security groups and creating a Deny statement using the aws:ResourceTag. We’ll work on revising the scenario and options as well to rectify this oversight.

    Again, we apologize for any confusion that may have been caused.

    Please let us know if there’s anything you’d like us to clarify.


    Carlo @ Tutorials Dojo