aws: Document network ACL's new validations.
This commit is contained in:
parent
9e8aefcd40
commit
0688431715
|
@ -20,7 +20,7 @@ resource "aws_network_acl" "main" {
|
|||
protocol = "tcp"
|
||||
rule_no = 2
|
||||
action = "allow"
|
||||
cidr_block = "10.3.2.3/18"
|
||||
cidr_block = "10.3.0.0/18"
|
||||
from_port = 443
|
||||
to_port = 443
|
||||
}
|
||||
|
@ -29,7 +29,7 @@ resource "aws_network_acl" "main" {
|
|||
protocol = "tcp"
|
||||
rule_no = 1
|
||||
action = "allow"
|
||||
cidr_block = "10.3.10.3/18"
|
||||
cidr_block = "10.3.0.0/18"
|
||||
from_port = 80
|
||||
to_port = 80
|
||||
}
|
||||
|
@ -56,8 +56,10 @@ Both `egress` and `ingress` support the following keys:
|
|||
* `to_port` - (Required) The to port to match.
|
||||
* `rule_no` - (Required) The rule number. Used for ordering.
|
||||
* `action` - (Required) The action to take.
|
||||
* `protocol` - (Required) The protocol to match.
|
||||
* `cidr_block` - (Optional) The CIDR block to match.
|
||||
* `protocol` - (Required) The protocol to match. If using the -1 'all'
|
||||
protocol, you must specify a from and to port of 0.
|
||||
* `cidr_block` - (Optional) The CIDR block to match. This must be a
|
||||
valid network mask.
|
||||
|
||||
## Attributes Reference
|
||||
|
||||
|
|
Loading…
Reference in New Issue