-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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 Classification Job #19165
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.
I have a number of suggestions, @coderGo93. Please also include a CHANGELOG entry file.
9dc8e63
to
5762971
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.
A few more changes to make and some left from the previous review
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.
We're getting there. I have a few additional changes and a few left over from previous reviews.
Also, take a look at https://github.com/hashicorp/terraform-provider-aws/blob/main/docs/contributing/running-and-writing-acceptance-tests.md#acceptance-test-concurrency. Because Macie can be either enabled or disabled, we can only run one Macie test at a time. Take a look at, e.g. https://github.com/hashicorp/terraform-provider-aws/blob/main/aws/resource_aws_guardduty_test.go for examples.
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.
Looking good. One last change for the acceptance tests.
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 to me 🚀
--- PASS: TestAccAWSMacie2_serial (257.93s)
--- PASS: TestAccAWSMacie2_serial/Account (91.46s)
--- PASS: TestAccAWSMacie2_serial/Account/finding_and_status (24.43s)
--- PASS: TestAccAWSMacie2_serial/Account/disappears (9.26s)
--- PASS: TestAccAWSMacie2_serial/Account/basic (12.62s)
--- PASS: TestAccAWSMacie2_serial/Account/finding_publishing_frequency (22.90s)
--- PASS: TestAccAWSMacie2_serial/Account/status (22.25s)
--- PASS: TestAccAWSMacie2_serial/ClassificationJob (166.48s)
--- PASS: TestAccAWSMacie2_serial/ClassificationJob/basic (19.51s)
--- PASS: TestAccAWSMacie2_serial/ClassificationJob/name_generated (18.82s)
--- PASS: TestAccAWSMacie2_serial/ClassificationJob/name_prefix (17.74s)
--- PASS: TestAccAWSMacie2_serial/ClassificationJob/disappears (16.34s)
--- PASS: TestAccAWSMacie2_serial/ClassificationJob/status (31.40s)
--- PASS: TestAccAWSMacie2_serial/ClassificationJob/complete (31.99s)
--- PASS: TestAccAWSMacie2_serial/ClassificationJob/tags (30.68s)
This has been released in version 3.39.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 Classification Job called
aws_macie2_classification_job
Community Note
Relates #13432
Output from acceptance testing: