diff --git a/builtin/providers/aws/resource_aws_iam_instance_profile.go b/builtin/providers/aws/resource_aws_iam_instance_profile.go index 16766d648971..2e45a655f8aa 100644 --- a/builtin/providers/aws/resource_aws_iam_instance_profile.go +++ b/builtin/providers/aws/resource_aws_iam_instance_profile.go @@ -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 {