diff --git a/aws/resource_aws_instance.go b/aws/resource_aws_instance.go index 48129a741b8..bbc864a15fd 100644 --- a/aws/resource_aws_instance.go +++ b/aws/resource_aws_instance.go @@ -914,7 +914,7 @@ func resourceAwsInstanceUpdate(d *schema.ResourceData, meta interface{}) error { } } - if d.HasChange("vpc_security_group_ids") { + if d.HasChange("vpc_security_group_ids") && !d.IsNewResource() { var groups []*string if v := d.Get("vpc_security_group_ids").(*schema.Set); v.Len() > 0 { for _, v := range v.List() {