From bed894095375d30839ac9ccffb26551b02034001 Mon Sep 17 00:00:00 2001 From: Paul Stack Date: Mon, 6 Mar 2017 13:39:49 +0200 Subject: [PATCH] provider/aws: Populate the iam_instance_profile uniqueId (#12449) Fixes: #12430 --- builtin/providers/aws/resource_aws_iam_instance_profile.go | 1 + 1 file changed, 1 insertion(+) 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 {