Skip to content

Commit

Permalink
When loading an existing role be sure to set the type to catch remote…
Browse files Browse the repository at this point in the history
… changes
  • Loading branch information
brianantonelli committed Jan 10, 2018
1 parent 87aac4b commit 744028c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions resource_alks_iamrole.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

1 comment on commit 744028c

@brianantonelli
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolves #17

Please sign in to comment.