Skip to content

Commit

Permalink
aws: Document network ACL's new validations.
Browse files Browse the repository at this point in the history
  • Loading branch information
ctiwald committed May 7, 2015
1 parent 9e8aefc commit 0688431
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions website/source/docs/providers/aws/r/network_acl.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand All @@ -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
}
Expand All @@ -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

Expand Down

0 comments on commit 0688431

Please sign in to comment.