From 744028cbc45757d14fce12a8ba28aed351cfcd2d Mon Sep 17 00:00:00 2001 From: Brian Date: Wed, 10 Jan 2018 14:45:10 -0500 Subject: [PATCH] When loading an existing role be sure to set the type to catch remote changes --- resource_alks_iamrole.go | 1 + 1 file changed, 1 insertion(+) diff --git a/resource_alks_iamrole.go b/resource_alks_iamrole.go index f1e6a445..0d7b79f5 100644 --- a/resource_alks_iamrole.go +++ b/resource_alks_iamrole.go @@ -119,6 +119,7 @@ func populateResourceDataFromRole(role *alks.IamRoleResponse, d *schema.Resource d.SetId(role.RoleName) d.Set("arn", role.RoleArn) d.Set("ip_arn", role.RoleIPArn) + d.Set("type", role.RoleType) return nil }