-
-
Notifications
You must be signed in to change notification settings - Fork 356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support route53 services #646
Conversation
"github.com/gruntwork-io/cloud-nuke/report" | ||
) | ||
|
||
func (r Route53CidrCollection) getAll(c context.Context, configObj config.Config) ([]*string, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was wondering why is used value instead of pointer like in other cases like:
https://github.com/gruntwork-io/cloud-nuke/blob/master/aws/resources/ec2.go#L27
} | ||
|
||
// nukeCidrLocations | ||
func (r Route53CidrCollection) nukeCidrLocations(id *string) (err error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suspect returning only error
will be shorter and consistent with code for other resources (same thing for other functions which return (err error))
func (r Route53CidrCollection) nukeCidrLocations(id *string) error
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SGTM
return ids, nil | ||
} | ||
|
||
// nukeCidrLocations |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think longer description will be helpful
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense. Let me address it. I think it makes sense to just remove it as well.
Description
Fixes #413
TODOs
Read the Gruntwork contribution guidelines.
nuke_sandbox
andnuke_phxdevops
jobs in.circleci/config.yml
have been updated with appropriate exclusions (either directly in the job or via the.circleci/nuke_config.yml
file) to prevent nuking IAM roles, groups, resources, etc that are important for the test accounts.Release Notes (draft)
Added / Removed / Updated [X].
Migration Guide