Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Add Path property to IAM roles for filtering #545

Merged
merged 1 commit into from
Aug 28, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion resources/iam-roles.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ func (role *IAMRole) Properties() types.Properties {
for _, tagValue := range role.role.Tags {
properties.SetTag(tagValue.Key, tagValue.Value)
}
properties.Set("Name", role.name)
properties.
Set("Name", role.name).
Set("Path", role.path)
return properties
}

Expand Down