fix associate_public_ip_address parameter name

This commit is contained in:
shin1x1 2014-09-03 20:54:36 +09:00
parent b52d323040
commit 781e512dde
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ func resourceAwsInstanceCreate(d *schema.ResourceData, meta interface{}) error {
}
associatePublicIPAddress := false
if v := d.Get("associate_public_ip_addresss"); v != nil {
if v := d.Get("associate_public_ip_address"); v != nil {
associatePublicIPAddress = v.(bool)
}