-
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_workspaces_bundle: Fix multiple WorkSpaces Bundles matched; use additional constraints to reduce matches to a single WorkSpaces Bundle
regression
#39777
Conversation
Community NoteVoting for Prioritization
For Submitters
|
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=TestAccWorkSpacesDataSource_serial/^Bundle$$' PKG=workspaces
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.2 test ./internal/service/workspaces/... -v -count 1 -parallel 20 -run=TestAccWorkSpacesDataSource_serial/^Bundle$ -timeout 360m
2024/10/17 14:06:26 Initializing Terraform AWS Provider...
=== RUN TestAccWorkSpacesDataSource_serial
=== PAUSE TestAccWorkSpacesDataSource_serial
=== CONT TestAccWorkSpacesDataSource_serial
=== RUN TestAccWorkSpacesDataSource_serial/Bundle
=== RUN TestAccWorkSpacesDataSource_serial/Bundle/byOwnerNameMultiple
=== RUN TestAccWorkSpacesDataSource_serial/Bundle/privateOwner
bundle_data_source_test.go:143: AWS_WORKSPACES_BUNDLE_NAME env var must be set for AWS WorkSpaces private bundle acceptance test. This is required until AWS provides bundle creation API.
=== RUN TestAccWorkSpacesDataSource_serial/Bundle/basic
=== RUN TestAccWorkSpacesDataSource_serial/Bundle/bundleIDAndNameConflict
=== RUN TestAccWorkSpacesDataSource_serial/Bundle/byOwnerName
--- PASS: TestAccWorkSpacesDataSource_serial (43.55s)
--- PASS: TestAccWorkSpacesDataSource_serial/Bundle (43.55s)
--- PASS: TestAccWorkSpacesDataSource_serial/Bundle/byOwnerNameMultiple (18.19s)
--- SKIP: TestAccWorkSpacesDataSource_serial/Bundle/privateOwner (0.00s)
--- PASS: TestAccWorkSpacesDataSource_serial/Bundle/basic (8.29s)
--- PASS: TestAccWorkSpacesDataSource_serial/Bundle/bundleIDAndNameConflict (0.74s)
--- PASS: TestAccWorkSpacesDataSource_serial/Bundle/byOwnerName (16.34s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/workspaces 48.582s
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
Return the first matching bundle, not the only matching bundle, when searching by
name
.Relations
Closes #39775.
Output from Acceptance Testing