Merge pull request #1583 from TimeIncOSS/fix_deprecated_sg_assoc

Bugfix: Allow using deprecated security_groups in NI spec
This commit is contained in:
Clint
2015-04-17 15:40:42 -05:00

View File

@@ -371,6 +371,7 @@ func resourceAwsInstanceCreate(d *schema.ResourceData, meta interface{}) error {
AssociatePublicIPAddress: aws.Boolean(associatePublicIPAddress),
DeviceIndex: aws.Long(int64(0)),
SubnetID: aws.String(subnetID),
Groups: groups,
}
if v, ok := d.GetOk("private_ip"); ok {