Skip to content

Commit

Permalink
provider/aws: Populate the iam_instance_profile uniqueId (#12449)
Browse files Browse the repository at this point in the history
Fixes: #12430
  • Loading branch information
stack72 authored Mar 6, 2017
1 parent 09b1f4e commit bed8940
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions builtin/providers/aws/resource_aws_iam_instance_profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit bed8940

Please sign in to comment.