Allow using deprecated security_groups in NI spec

This commit is contained in:
Radek Simko 2015-04-17 21:26:17 +01:00
parent d9e8c112ae
commit 009514f0d3
1 changed files with 1 additions and 0 deletions

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 {