update docs to reflect attribute conflict

This commit is contained in:
Sarkis Varozian 2016-05-28 16:10:32 -04:00
parent 10cc8b8c63
commit d71e9bfaec
1 changed files with 2 additions and 3 deletions

View File

@ -31,7 +31,6 @@ resource "aws_security_group_rule" "allow_all" {
cidr_blocks = ["0.0.0.0/0"] cidr_blocks = ["0.0.0.0/0"]
security_group_id = "sg-123456" security_group_id = "sg-123456"
source_security_group_id = "sg-654321"
} }
``` ```
@ -41,12 +40,12 @@ The following arguments are supported:
* `type` - (Required) The type of rule being created. Valid options are `ingress` (inbound) * `type` - (Required) The type of rule being created. Valid options are `ingress` (inbound)
or `egress` (outbound). or `egress` (outbound).
* `cidr_blocks` - (Optional) List of CIDR blocks. * `cidr_blocks` - (Optional) List of CIDR blocks. Cannot be used with `source_security_group_id`.
* `from_port` - (Required) The start port (or ICMP type number if protocol is "icmp"). * `from_port` - (Required) The start port (or ICMP type number if protocol is "icmp").
* `protocol` - (Required) The protocol. * `protocol` - (Required) The protocol.
* `security_group_id` - (Required) The security group to apply this rule to. * `security_group_id` - (Required) The security group to apply this rule to.
* `source_security_group_id` - (Optional) The security group id to allow access to/from, * `source_security_group_id` - (Optional) The security group id to allow access to/from,
depending on the `type`. depending on the `type`. Cannot be used with `cidr_blocks`.
* `self` - (Optional) If true, the security group itself will be added as * `self` - (Optional) If true, the security group itself will be added as
a source to this ingress rule. a source to this ingress rule.
* `to_port` - (Required) The end range port. * `to_port` - (Required) The end range port.