From 1d06ecb7a94f14d037b73c5f7bb350f3ac4d65e3 Mon Sep 17 00:00:00 2001 From: Jack Pearkes Date: Thu, 24 Jul 2014 18:57:07 -0400 Subject: [PATCH] website: add note about security group names/ids on instances --- website/source/docs/providers/aws/r/instance.html.markdown | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/website/source/docs/providers/aws/r/instance.html.markdown b/website/source/docs/providers/aws/r/instance.html.markdown index e1356ef20..491d1f653 100644 --- a/website/source/docs/providers/aws/r/instance.html.markdown +++ b/website/source/docs/providers/aws/r/instance.html.markdown @@ -27,7 +27,9 @@ The following arguments are supported: * `availability_zone` - (Optional) The AZ to start the instance in. * `instance_type` - (Required) The type of instance to start * `key_name` - (Optional) The key name to use for the instance. -* `security_groups` - (Optional) A list of security group IDs to associate with. +* `security_groups` - (Optional) A list of security group IDs or names to associate with. + If you are within a VPC, you'll need to use the security group ID. Otherwise, + for EC2, use the security group name. * `subnet_id` - (Optional) The VPC Subnet ID to launch in. * `source_dest_check` - (Optional) Controls if traffic is routed to the instance when the destination address does not match the instance. Used for NAT or VPNs. Defaults false.