security_groups field expects a list of Security Group Group Names, not IDs
This commit is contained in:
parent
7a275fb737
commit
baf1625485
|
@ -74,7 +74,9 @@ The `ingress` block supports:
|
|||
* `cidr_blocks` - (Optional) List of CIDR blocks. Cannot be used with `security_groups`.
|
||||
* `from_port` - (Required) The start port.
|
||||
* `protocol` - (Required) The protocol.
|
||||
* `security_groups` - (Optional) List of security group IDs. Cannot be used with `cidr_blocks`.
|
||||
* `security_groups` - (Optional) List of security group Group Names if using
|
||||
EC2-Classic or the default VPC, or Group IDs if using a non-default VPC.
|
||||
Cannot be used with `cidr_blocks`.
|
||||
* `self` - (Optional) If true, the security group itself will be added as
|
||||
a source to this ingress rule.
|
||||
* `to_port` - (Required) The end range port.
|
||||
|
@ -84,7 +86,9 @@ The `egress` block supports:
|
|||
* `cidr_blocks` - (Optional) List of CIDR blocks. Cannot be used with `security_groups`.
|
||||
* `from_port` - (Required) The start port.
|
||||
* `protocol` - (Required) The protocol.
|
||||
* `security_groups` - (Optional) List of security group IDs. Cannot be used with `cidr_blocks`.
|
||||
* `security_groups` - (Optional) List of security group Group Names if using
|
||||
EC2-Classic or the default VPC, or Group IDs if using a non-default VPC.
|
||||
Cannot be used with `cidr_blocks`.
|
||||
* `self` - (Optional) If true, the security group itself will be added as
|
||||
a source to this egress rule.
|
||||
* `to_port` - (Required) The end range port.
|
||||
|
|
Loading…
Reference in New Issue