-
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
Add pagination support (introduced in aws-sdk-go v1.33.21) and multiple baselines per patch group. #15213
Add pagination support (introduced in aws-sdk-go v1.33.21) and multiple baselines per patch group. #15213
Conversation
Is there anything I can do to get this PR looked at ? |
@YakDriver , @gdavison - Apologies for reaching out to you both directly, but this PR has been pending review for quite some time now. It is functionality that my company urgently needs. Is there anything further I need to do (or can do) in order to get it reviewed ? Thank you for your time. |
This seems like it has been pending for a very long time, with no issues identified. When can this get merged? |
@apparentlymart , @YakDriver , @gdavison , @anGie44 - Apologies for mentioning you all directly, but I don't know what else I can do to get this PR reviewed.. It's been waiting for over 2 months now with absolutely no feedback. Is there anything further I need to do (or can do) in order to get it reviewed and progressing ? Thank you for your time. |
👋 Hi @melbit-michaelw thanks for the contribution! Apologies for the radio silence, the engineers get so many direct and indirect (via team) pings its just not feasible to answer every one. Right now the team are working through items in order of priority, primarily determined by upvotes on the PR or linked issue. I can see that this issue/pr has significant support, so it is is in our backlog but at this time we can't give an ETA for when it will be reviewed. We appreciate your patience and thanks again for the contribution! |
Hello, been a while, any more clarity on the status of this request? |
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.
Hi @melbit-michaelw, thank you for this PR! Overall the resource ID change and pagination support are great solutions to the associated bug. Just a couple quick notes that I'll be pushing up changes to address so we can get this into the upcoming release.
- As you mentioned, we'll need a state migration to ensure backwards compatability, so I've added functionality and a test.
- The AWS docs list
:
as a valid character for both resource arguments, so later when we parse the ID based on the delimiter it could become troublesome, so instead I've replaced the delimiter with a,
. - Since the pagination function is used across the resource and test file, I've moved it to the
ssm
internal service package for a more DRY implementation. - When iterating through the PatchGroupsPages, I've preemptively parsed the ID if in the future we support importing this resource.
- I've added test coverage for the 1:many relationship
…le baselines per patch group.
f9a5fd5
to
aeeb20d
Compare
aeeb20d
to
4d30e3e
Compare
Output of acceptance tests (commercial):
|
123ef6c
to
aeeb20d
Compare
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.
Thank you again @melbit-michaelw !🚀
This has been released in version 3.33.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
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! |
This PR modifies the Id for an SSM Patch Group to be the Patch Group Name joined to the BaselineId by a ":". This allows an SSM Patch Group to support multiple baselines.
Please note that pre-existing patch groups will be recreated due to the change in Id (this happens without issue in my testing as the AWS API call succeeds even if the patch group already has that baseline applied).
Secondly, this PR adds pagination support (added in aws-sdk-go v1.33.21) to the aws_ssm_patch_group resource.
Community Note
Closes #9603
Closes #13580
As it involved modifying the same code, I have merged the work from my previous PR ( #13752 ) into this one. Please let me know if that's a problem..
Release note for CHANGELOG:
Output from acceptance testing: