Merge pull request #2531 from hashicorp/b-aws-instance-refresh
providers/aws: set AMI on read for instance [GH-1571]
This commit is contained in:
commit
9c9fe38fd8
|
@ -457,6 +457,7 @@ func resourceAwsInstanceRead(d *schema.ResourceData, meta interface{}) error {
|
|||
d.Set("tenancy", instance.Placement.Tenancy)
|
||||
}
|
||||
|
||||
d.Set("ami", instance.ImageID)
|
||||
d.Set("instance_type", instance.InstanceType)
|
||||
d.Set("key_name", instance.KeyName)
|
||||
d.Set("public_dns", instance.PublicDNSName)
|
||||
|
|
Loading…
Reference in New Issue