Security Group
A Security Group in AWS is a virtual firewall that controls the inbound and outbound traffic to your instances. Security Groups help protect your instances from unwanted and potentially harmful traffic by allowing you to specify rules based on protocol, port number, and source/destination IP address. For more detailed information, you can refer to the official AWS Security Groups documentation.
Terrafrom Mappings:
aws_security_group.id
aws_security_group_rule.security_group_id
Supported Methods​
GET
: Get a security group by IDLIST
: List all security groupsSEARCH
: Search for security groups by ARN
Possible Links​
ec2-vpc
​
A Security Group is associated with an Amazon Virtual Private Cloud (VPC), and it defines the rules for the traffic to and from the instances within the VPC. Each VPC can have multiple Security Groups associated with it, allowing for flexible control of network access based on application requirements.