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

Add IAMUserPolicy resource #71

Merged
merged 1 commit into from
Jan 10, 2018
Merged

Add IAMUserPolicy resource #71

merged 1 commit into from
Jan 10, 2018

Conversation

stephanlindauer
Copy link
Contributor

Please review @rebuy-de/prp-aws-nuke

svenwltr
svenwltr previously approved these changes Jan 10, 2018
return resources, nil
}

func (e *IAMUserPolicy) Remove() error {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why e though?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

its named like this in other places as well. for example:

func (e *IAMUser) Remove() error {

func (e *IAMUserPolicyAttachment) Remove() error {

i'm also not a big fan of those ambiguous one letter variable names but i felt like following the style of the other resources out-weights that urge in that case.
if we adapt to having proper variable naming here, then i'd vote for doing it in all the places at once in a separate pull request.

Copy link
Member

Choose a reason for hiding this comment

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

@stephanlindauer stephanlindauer changed the base branch from refactor-listers to master January 10, 2018 11:32
@stephanlindauer stephanlindauer merged commit 8e6b8a3 into master Jan 10, 2018
@stephanlindauer stephanlindauer deleted the aws_user_policy branch January 10, 2018 12:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants