providers/aws: remove instance_id manual storage
This commit is contained in:
parent
8acd3a6373
commit
0319e89281
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue