Skip to content
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

r/ssm_patch_baseline - approved/rejected patch enhancements + arn + validations #11772

Merged
merged 10 commits into from
Feb 12, 2021

Conversation

DrFaust92
Copy link
Collaborator

@DrFaust92 DrFaust92 commented Jan 27, 2020

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Closes #11767

Release note for CHANGELOG:

resource_aws_ssm_patch_baseline: add support for `rejected_patches_action` and `approved_patches_enable_non_security`

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccAWSSSMPatchBaseline_'
--- PASS: TestAccAWSSSMPatchBaseline_disappears (28.32s)
--- PASS: TestAccAWSSSMPatchBaseline_RejectPatchesAction (40.62s)
--- PASS: TestAccAWSSSMPatchBaseline_ApprovedPatchesNonSec (40.82s)
--- PASS: TestAccAWSSSMPatchBaseline_basic (69.62s)
--- PASS: TestAccAWSSSMPatchBaseline_OperatingSystem (69.79s)
--- PASS: TestAccAWSSSMPatchBaseline_tags (97.91s)

@DrFaust92 DrFaust92 requested a review from a team January 27, 2020 16:13
@ghost ghost added size/M Managed by automation to categorize the size of a PR. needs-triage Waiting for first response or review from a maintainer. documentation Introduces or discusses updates to documentation. service/ssm Issues and PRs that pertain to the ssm service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Jan 27, 2020
Copy link
Contributor

@slapula slapula left a comment

Choose a reason for hiding this comment

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

LGTM

@DrFaust92 DrFaust92 changed the title aws_ssm_patch_baseline approved/rejected patch enhancements r/ssm_patch_baseline - approved/rejected patch enhancements May 24, 2020
@DrFaust92 DrFaust92 added enhancement Requests to existing resources that expand the functionality or scope. and removed needs-triage Waiting for first response or review from a maintainer. labels Jul 25, 2020
Base automatically changed from master to main January 23, 2021 00:57
@breathingdust breathingdust requested a review from a team as a code owner January 23, 2021 00:57
@ghost ghost added size/L Managed by automation to categorize the size of a PR. and removed size/M Managed by automation to categorize the size of a PR. labels Feb 11, 2021
@DrFaust92 DrFaust92 marked this pull request as draft February 11, 2021 16:35
@DrFaust92 DrFaust92 marked this pull request as ready for review February 11, 2021 17:09
@DrFaust92 DrFaust92 changed the title r/ssm_patch_baseline - approved/rejected patch enhancements r/ssm_patch_baseline - approved/rejected patch enhancements + arn + validations Feb 11, 2021
@bflad bflad self-assigned this Feb 11, 2021
Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

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

Just some tidying before verifying ✨

aws/resource_aws_ssm_patch_baseline.go Outdated Show resolved Hide resolved
aws/resource_aws_ssm_patch_baseline.go Outdated Show resolved Hide resolved
aws/resource_aws_ssm_patch_baseline.go Outdated Show resolved Hide resolved
aws/resource_aws_ssm_patch_baseline.go Outdated Show resolved Hide resolved
.changelog/11772.txt Outdated Show resolved Hide resolved
Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

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

Looks good to me, thank you, @DrFaust92 🚀

Output from acceptance testing in AWS Commercial:

--- PASS: TestAccAWSSSMPatchBaseline_disappears (11.66s)
--- PASS: TestAccAWSSSMPatchBaseline_ApprovedPatchesNonSec (15.49s)
--- PASS: TestAccAWSSSMPatchBaseline_RejectPatchesAction (15.51s)
--- PASS: TestAccAWSSSMPatchBaseline_basic (24.91s)
--- PASS: TestAccAWSSSMPatchBaseline_OperatingSystem (25.68s)
--- PASS: TestAccAWSSSMPatchBaseline_tags (34.07s)

Output from acceptance testing in AWS GovCloud (US):

--- PASS: TestAccAWSSSMPatchBaseline_disappears (14.52s)
--- PASS: TestAccAWSSSMPatchBaseline_RejectPatchesAction (19.65s)
--- PASS: TestAccAWSSSMPatchBaseline_ApprovedPatchesNonSec (20.14s)
--- PASS: TestAccAWSSSMPatchBaseline_basic (34.06s)
--- PASS: TestAccAWSSSMPatchBaseline_OperatingSystem (34.41s)
--- PASS: TestAccAWSSSMPatchBaseline_tags (46.50s)

@bflad bflad merged commit fc1c883 into hashicorp:main Feb 12, 2021
@github-actions github-actions bot added this to the v3.28.0 milestone Feb 12, 2021
@ghost
Copy link

ghost commented Feb 12, 2021

This has been released in version 3.28.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!

@ghost
Copy link

ghost commented Mar 14, 2021

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!

@ghost ghost locked as resolved and limited conversation to collaborators Mar 14, 2021
@DrFaust92 DrFaust92 deleted the r/ssm_baseline branch April 15, 2021 10:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. enhancement Requests to existing resources that expand the functionality or scope. service/ssm Issues and PRs that pertain to the ssm service. size/L Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

aws_ssm_patch_baseline approved/rejected patch enhancements
4 participants