providers/aws: remove instance_id manual storage

This commit is contained in:
Jack Pearkes 2014-07-07 18:08:20 -04:00
parent 8acd3a6373
commit 0319e89281
2 changed files with 1 additions and 2 deletions

View File

@ -155,6 +155,7 @@ func resource_aws_eip_update_state(
s.Attributes["private_ip"] = address.PrivateIpAddress
s.Attributes["public_ip"] = address.PublicIp
s.Attributes["instance"] = address.InstanceId
return s, nil
}

View File

@ -115,7 +115,6 @@ func resource_aws_instance_diff(
"public_ip",
"private_dns",
"private_ip",
"instance_id",
},
}
@ -162,7 +161,6 @@ func resource_aws_instance_update_state(
s.Attributes["public_ip"] = instance.PublicIpAddress
s.Attributes["private_dns"] = instance.PrivateDNSName
s.Attributes["private_ip"] = instance.PrivateIpAddress
s.Attributes["instance_id"] = instance.InstanceId
return s, nil
}