From 5be4ecdcdb785204373cffab7bee36e30fe19a93 Mon Sep 17 00:00:00 2001 From: TANABE Ken-ichi Date: Thu, 7 May 2015 00:26:57 +0900 Subject: [PATCH] provider/aws: Update ARN in instanceProfileReadResult --- builtin/providers/aws/resource_aws_iam_instance_profile.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/builtin/providers/aws/resource_aws_iam_instance_profile.go b/builtin/providers/aws/resource_aws_iam_instance_profile.go index 506935d8e..7a69ae2da 100644 --- a/builtin/providers/aws/resource_aws_iam_instance_profile.go +++ b/builtin/providers/aws/resource_aws_iam_instance_profile.go @@ -189,6 +189,9 @@ func instanceProfileReadResult(d *schema.ResourceData, result *iam.InstanceProfi if err := d.Set("name", result.InstanceProfileName); err != nil { return err } + if err := d.Set("arn", result.ARN); err != nil { + return err + } if err := d.Set("path", result.Path); err != nil { return err }