Data Source: aws_vpc_security_group_rule

aws_vpc_security_group_rule provides details about a specific security group rule.

Example Usage

data "aws_vpc_security_group_rule" "example" {
  security_group_rule_id = var.security_group_rule_id
}

Argument Reference

The arguments of this data source act as filters for querying the available security group rules. The given filters must match exactly one security group rule whose data will be exported as attributes.

filter Configuration Block

The filter configuration block supports the following arguments:

Attribute Reference

This data source exports the following attributes in addition to the arguments above: