-
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
d/aws_ssm_patch_baselines: new data source #39779
Conversation
Community NoteVoting for Prioritization
For Submitters
|
69c34d1
to
70bf6c6
Compare
This data source will allow practitioners to list all AWS SSM patch baselines, with optional filters. ```console % make testacc PKG=ssm TESTS=TestAccSSMPatchBaselinesDataSource_ make: Verifying source code with gofmt... ==> Checking that code complies with gofmt requirements... TF_ACC=1 go1.23.2 test ./internal/service/ssm/... -v -count 1 -parallel 20 -run='TestAccSSMPatchBaselinesDataSource_' -timeout 360m 2024/10/17 14:31:44 Initializing Terraform AWS Provider... --- PASS: TestAccSSMPatchBaselinesDataSource_filter (9.70s) --- PASS: TestAccSSMPatchBaselinesDataSource_defaultBaselines (9.70s) --- PASS: TestAccSSMPatchBaselinesDataSource_basic (9.70s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/ssm 15.980s ```
70bf6c6
to
f74ff9f
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.
LGTM 🚀.
% make testacc TESTARGS='-run=TestAccSSMPatchBaselinesDataSource_' PKG=ssm
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.2 test ./internal/service/ssm/... -v -count 1 -parallel 20 -run=TestAccSSMPatchBaselinesDataSource_ -timeout 360m
2024/10/18 08:40:53 Initializing Terraform AWS Provider...
=== RUN TestAccSSMPatchBaselinesDataSource_basic
=== PAUSE TestAccSSMPatchBaselinesDataSource_basic
=== RUN TestAccSSMPatchBaselinesDataSource_defaultBaselines
=== PAUSE TestAccSSMPatchBaselinesDataSource_defaultBaselines
=== RUN TestAccSSMPatchBaselinesDataSource_filter
=== PAUSE TestAccSSMPatchBaselinesDataSource_filter
=== CONT TestAccSSMPatchBaselinesDataSource_basic
=== CONT TestAccSSMPatchBaselinesDataSource_filter
=== CONT TestAccSSMPatchBaselinesDataSource_defaultBaselines
--- PASS: TestAccSSMPatchBaselinesDataSource_defaultBaselines (9.05s)
--- PASS: TestAccSSMPatchBaselinesDataSource_basic (9.05s)
--- PASS: TestAccSSMPatchBaselinesDataSource_filter (9.07s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ssm 14.291s
This functionality has been released in v5.73.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. Thank you! |
Description
This data source will allow practitioners to list all AWS SSM patch baselines, with optional filters.
The forthcoming
aws_ssmquicksetup_configuration_manager
resource accepts a JSON string of selected patch baselines as part of the configuration for a patch policy, for which the output of this data source can be used. For example,Relations
Relates #29549
References
Output from Acceptance Testing