diff --git a/builtin/providers/aws/resource_aws_iam_instance_profile.go b/builtin/providers/aws/resource_aws_iam_instance_profile.go index 16766d648..2e45a655f 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 {