-
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_ami: Fix interface conversion: interface {} is types.ProductCodeValues, not string
panic
#37977
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=TestAccEC2AMIDataSource_' PKG=ec2
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.2 test ./internal/service/ec2/... -v -count 1 -parallel 20 -run=TestAccEC2AMIDataSource_ -timeout 360m
=== RUN TestAccEC2AMIDataSource_linuxInstance
=== PAUSE TestAccEC2AMIDataSource_linuxInstance
=== RUN TestAccEC2AMIDataSource_windowsInstance
=== PAUSE TestAccEC2AMIDataSource_windowsInstance
=== RUN TestAccEC2AMIDataSource_instanceStore
=== PAUSE TestAccEC2AMIDataSource_instanceStore
=== RUN TestAccEC2AMIDataSource_localNameFilter
=== PAUSE TestAccEC2AMIDataSource_localNameFilter
=== RUN TestAccEC2AMIDataSource_gp3BlockDevice
=== PAUSE TestAccEC2AMIDataSource_gp3BlockDevice
=== RUN TestAccEC2AMIDataSource_productCode
=== PAUSE TestAccEC2AMIDataSource_productCode
=== CONT TestAccEC2AMIDataSource_linuxInstance
=== CONT TestAccEC2AMIDataSource_localNameFilter
=== CONT TestAccEC2AMIDataSource_gp3BlockDevice
=== CONT TestAccEC2AMIDataSource_productCode
=== CONT TestAccEC2AMIDataSource_instanceStore
=== CONT TestAccEC2AMIDataSource_windowsInstance
--- PASS: TestAccEC2AMIDataSource_linuxInstance (10.71s)
--- PASS: TestAccEC2AMIDataSource_localNameFilter (10.78s)
--- PASS: TestAccEC2AMIDataSource_instanceStore (10.79s)
--- PASS: TestAccEC2AMIDataSource_productCode (10.89s)
--- PASS: TestAccEC2AMIDataSource_windowsInstance (11.55s)
--- PASS: TestAccEC2AMIDataSource_gp3BlockDevice (59.09s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 65.051s
This functionality has been released in v5.54.1 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! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Description
Removes the custom set hash functions from the
aws_ami
data source -- these are not required for Computed attributes.Relations
Closes #37973.
Output from Acceptance Testing
Before fix
After fix