From baf1625485a4d72b5d84d388a3447b70c8f61686 Mon Sep 17 00:00:00 2001 From: Thomas Lovett Date: Thu, 9 Apr 2015 14:41:41 -0500 Subject: [PATCH] security_groups field expects a list of Security Group Group Names, not IDs --- .../docs/providers/aws/r/security_group.html.markdown | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/website/source/docs/providers/aws/r/security_group.html.markdown b/website/source/docs/providers/aws/r/security_group.html.markdown index 65c96e648..e1db4b1d9 100644 --- a/website/source/docs/providers/aws/r/security_group.html.markdown +++ b/website/source/docs/providers/aws/r/security_group.html.markdown @@ -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.