-
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
F aws acm data source tags filter #31453
F aws acm data source tags filter #31453
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.
Welcome @rromic 👋
It looks like this is your first Pull Request submission to the Terraform AWS Provider! If you haven’t already done so please make sure you have checked out our CONTRIBUTOR guide and FAQ to make sure your contribution is adhering to best practice and has all the necessary elements in place for a successful approval.
Also take a look at our FAQ which details how we prioritize Pull Requests for inclusion.
Thanks again, and welcome to the community! 😃
decbf39
to
6148bae
Compare
@ewbankkit any plans for this PR? :) |
@rromic Yes, I'll take a look and migrate to transparent tagging. Thanks. |
Can we please get this merged? |
a0794c4
to
1e8c2fc
Compare
@ewbankkit can I help with transparent tagging? Can you please provide some example so I can try to put it in to get this PR to be merged faster? |
Any update? Thanks. |
@vishwa-trulioo nothing from my side. I have resolved all conflicts and made linter fixes that got in with main branch. |
@ewbankkit if the work is good, are you able to get this into the next release? Thank you in advance. |
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=TestAccACMCertificateDataSource_' PKG=acm ACCTEST_PARALLELISM=3
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.0 test ./internal/service/acm/... -v -count 1 -parallel 3 -run=TestAccACMCertificateDataSource_ -timeout 360m
=== RUN TestAccACMCertificateDataSource_tags
=== PAUSE TestAccACMCertificateDataSource_tags
=== RUN TestAccACMCertificateDataSource_byDomain
=== PAUSE TestAccACMCertificateDataSource_byDomain
=== RUN TestAccACMCertificateDataSource_byDomainNoMatch
=== PAUSE TestAccACMCertificateDataSource_byDomainNoMatch
=== RUN TestAccACMCertificateDataSource_byDomainMultiple
=== PAUSE TestAccACMCertificateDataSource_byDomainMultiple
=== RUN TestAccACMCertificateDataSource_byDomainAndTags
=== PAUSE TestAccACMCertificateDataSource_byDomainAndTags
=== RUN TestAccACMCertificateDataSource_byDomainAndStatuses
=== PAUSE TestAccACMCertificateDataSource_byDomainAndStatuses
=== RUN TestAccACMCertificateDataSource_byDomainAndKeyTypes
=== PAUSE TestAccACMCertificateDataSource_byDomainAndKeyTypes
=== RUN TestAccACMCertificateDataSource_byDomainAndTypes
=== PAUSE TestAccACMCertificateDataSource_byDomainAndTypes
=== RUN TestAccACMCertificateDataSource_byDomainAndTypesNoMatch
=== PAUSE TestAccACMCertificateDataSource_byDomainAndTypesNoMatch
=== RUN TestAccACMCertificateDataSource_byDomainAndKeyTypesMostRecent
=== PAUSE TestAccACMCertificateDataSource_byDomainAndKeyTypesMostRecent
=== RUN TestAccACMCertificateDataSource_byTags
=== PAUSE TestAccACMCertificateDataSource_byTags
=== RUN TestAccACMCertificateDataSource_byTagsNoMatch
=== PAUSE TestAccACMCertificateDataSource_byTagsNoMatch
=== RUN TestAccACMCertificateDataSource_byTagsAndKeyTypes
=== PAUSE TestAccACMCertificateDataSource_byTagsAndKeyTypes
=== CONT TestAccACMCertificateDataSource_tags
=== CONT TestAccACMCertificateDataSource_byDomainAndTypes
=== CONT TestAccACMCertificateDataSource_byDomainAndTags
--- PASS: TestAccACMCertificateDataSource_byDomainAndTags (14.45s)
=== CONT TestAccACMCertificateDataSource_byDomainNoMatch
--- PASS: TestAccACMCertificateDataSource_tags (14.98s)
=== CONT TestAccACMCertificateDataSource_byDomainMultiple
--- PASS: TestAccACMCertificateDataSource_byDomainAndTypes (19.90s)
=== CONT TestAccACMCertificateDataSource_byDomain
--- PASS: TestAccACMCertificateDataSource_byDomainMultiple (9.12s)
=== CONT TestAccACMCertificateDataSource_byDomainAndKeyTypes
--- PASS: TestAccACMCertificateDataSource_byDomain (13.26s)
=== CONT TestAccACMCertificateDataSource_byTags
--- PASS: TestAccACMCertificateDataSource_byDomainAndKeyTypes (13.81s)
=== CONT TestAccACMCertificateDataSource_byTagsAndKeyTypes
--- PASS: TestAccACMCertificateDataSource_byTags (14.64s)
=== CONT TestAccACMCertificateDataSource_byTagsNoMatch
--- PASS: TestAccACMCertificateDataSource_byTagsNoMatch (7.56s)
=== CONT TestAccACMCertificateDataSource_byDomainAndKeyTypesMostRecent
--- PASS: TestAccACMCertificateDataSource_byTagsAndKeyTypes (16.01s)
=== CONT TestAccACMCertificateDataSource_byDomainAndTypesNoMatch
--- PASS: TestAccACMCertificateDataSource_byDomainNoMatch (66.26s)
=== CONT TestAccACMCertificateDataSource_byDomainAndStatuses
--- PASS: TestAccACMCertificateDataSource_byDomainAndStatuses (14.64s)
--- PASS: TestAccACMCertificateDataSource_byDomainAndTypesNoMatch (66.33s)
--- PASS: TestAccACMCertificateDataSource_byDomainAndKeyTypesMostRecent (200.70s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/acm 263.625s
@rromic Thanks for the contribution 🎉 👏. |
awesome! Thank you for all the support! |
This functionality has been released in v5.67.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 option to filter acm certificates by tags.
Now domain attribute is not required any more but either domain or tags or both needs to be provided to get certificates.
Added acceptance tests to cover new cases and adjusted previous ones to ensure previous logic remains the same.
Relations
Closes #1918
References
Output from Acceptance Testing