provider/aws: Populate the iam_instance_profile uniqueId (#12449)
Fixes: #12430
This commit is contained in:
parent
09b1f4e1be
commit
bed8940953
|
@ -260,6 +260,7 @@ func instanceProfileReadResult(d *schema.ResourceData, result *iam.InstanceProfi
|
||||||
if err := d.Set("path", result.Path); err != nil {
|
if err := d.Set("path", result.Path); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
d.Set("unique_id", result.InstanceProfileId)
|
||||||
|
|
||||||
roles := &schema.Set{F: schema.HashString}
|
roles := &schema.Set{F: schema.HashString}
|
||||||
for _, role := range result.Roles {
|
for _, role := range result.Roles {
|
||||||
|
|
Loading…
Reference in New Issue