Difference between revisions of "Terraform resource: aws security group rule"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
== Related == | == Related == | ||
− | * <code>[[ingress]]</code> | + | * <code>[[ingress]], [[egress]]</code> |
* <code>[[aws ec2 authorize-security-group-ingress]]</code> | * <code>[[aws ec2 authorize-security-group-ingress]]</code> | ||
* <code>[[aws_security_group]]</code> | * <code>[[aws_security_group]]</code> |
Revision as of 19:47, 31 January 2023
aws_security_group_rule
from_port
to_port
protocol (required): icmp, icmpv6, tcp, udp, or all
Related
ingress, egress
aws ec2 authorize-security-group-ingress
aws_security_group
data.aws_subnet.all_public
cidr_blocks Tags
tags = { name = "your SG name" }
See also
Advertising: