-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
feat: add include_deprecated
to the datasource aws_ami_ids
#30294
feat: add include_deprecated
to the datasource aws_ami_ids
#30294
Conversation
Community NoteVoting for Prioritization
For Submitters
|
52a64a6
to
4235a17
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=TestAccEC2AMIIDsDataSource_' PKG=ec2 ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 3 -run=TestAccEC2AMIIDsDataSource_ -timeout 180m
=== RUN TestAccEC2AMIIDsDataSource_basic
=== PAUSE TestAccEC2AMIIDsDataSource_basic
=== RUN TestAccEC2AMIIDsDataSource_sorted
=== PAUSE TestAccEC2AMIIDsDataSource_sorted
=== RUN TestAccEC2AMIIDsDataSource_includeDeprecated
=== PAUSE TestAccEC2AMIIDsDataSource_includeDeprecated
=== CONT TestAccEC2AMIIDsDataSource_basic
=== CONT TestAccEC2AMIIDsDataSource_includeDeprecated
=== CONT TestAccEC2AMIIDsDataSource_sorted
--- PASS: TestAccEC2AMIIDsDataSource_basic (30.45s)
--- PASS: TestAccEC2AMIIDsDataSource_includeDeprecated (31.17s)
--- PASS: TestAccEC2AMIIDsDataSource_sorted (93.74s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 99.725s
@tamiros Thanks for the contribution 🎉 👏. |
This functionality has been released in v4.65.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! |
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
This PR adds a new optional argument
include_deprecated
to the data sourceaws_ami_ids
, similar to the data sourceaws_ami
.Both data sources call the same method so it's logical to have this argument in
aws_ami_ids
as well.Relations
Closes #30291
References
Output from Acceptance Testing