-
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
New resource for Macie2 Findings Filter #19283
Conversation
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.
A few tweaks to the documentation and adding date time values to the greater-than and less-than checks.
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.
It's looking good. A couple minor changes
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.
One thing I missed last time. Looking good!
var err error | ||
input.FindingCriteria, err = expandFindingCriteriaFilter(d.Get("finding_criteria").([]interface{})) | ||
if err != nil { | ||
return diag.FromErr(err) |
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.
I missed this one last time: this should have some context for the error as well
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.
Looks good 🚀
--- PASS: TestAccAWSMacie2_serial (515.89s)
--- PASS: TestAccAWSMacie2_serial/FindingsFilter (152.81s)
--- PASS: TestAccAWSMacie2_serial/FindingsFilter/date (23.28s)
--- PASS: TestAccAWSMacie2_serial/FindingsFilter/number (25.25s)
--- PASS: TestAccAWSMacie2_serial/FindingsFilter/tags (14.43s)
--- PASS: TestAccAWSMacie2_serial/FindingsFilter/basic (15.35s)
--- PASS: TestAccAWSMacie2_serial/FindingsFilter/name_generated (13.99s)
--- PASS: TestAccAWSMacie2_serial/FindingsFilter/name_prefix (14.42s)
--- PASS: TestAccAWSMacie2_serial/FindingsFilter/disappears (10.11s)
--- PASS: TestAccAWSMacie2_serial/FindingsFilter/complete (35.98s)
This has been released in version 3.40.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 for triage. Thanks! |
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. |
Added a new resource, docs and tests for Macie Findings Filter called
aws_macie2_findings_filter
Community Note
Relates #13432
Output from acceptance testing: