-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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 > 20 parameters in rds cluster parameter groups #1298
Support > 20 parameters in rds cluster parameter groups #1298
Conversation
samber
commented
Aug 1, 2017
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.
LGTM, only a couple of minor nits.
Thanks for the contribution!
return fmt.Errorf("Error modifying DB Cluster Parameter Group: %s", err) | ||
// We can only modify 20 parameters at a time, so walk them until | ||
// we've got them all. | ||
maxParams := 20 |
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.
Mind making this a constant at the top level for this resource?
paramsToModify, parameters = parameters[:maxParams], parameters[maxParams:] | ||
} | ||
modifyOpts := rds.ModifyDBClusterParameterGroupInput{ | ||
DBClusterParameterGroupName: aws.String(d.Get("name").(string)), |
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.
minor nit: Can fetch and cast the value of "name"
prior to iterating.
@grubernaut fixed ;) |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |