provider/aws: Populate the iam_instance_profile uniqueId (#12449)

Fixes: #12430
This commit is contained in:
Paul Stack 2017-03-06 13:39:49 +02:00 committed by GitHub
parent 09b1f4e1be
commit bed8940953
1 changed files with 1 additions and 0 deletions

View File

@ -260,6 +260,7 @@ func instanceProfileReadResult(d *schema.ResourceData, result *iam.InstanceProfi
if err := d.Set("path", result.Path); err != nil {
return err
}
d.Set("unique_id", result.InstanceProfileId)
roles := &schema.Set{F: schema.HashString}
for _, role := range result.Roles {