-
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 Account #19069
Conversation
Thank you for your contribution! 🚀 Please note that typically Go dependency changes are handled in this repository by dependabot or the maintainers. This is to prevent pull request merge conflicts and further delay reviews of contributions. Remove any changes to the Additional details:
|
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 @coderGo93 👋
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 CONTRIBUTING 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! 😃
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.
Hi @coderGo93, thanks for the PR. I have a number of changes we'd like to see. Some of them should have been caught by our linting tools, but it looks like the merge conflict prevented them from running.
We have a lot of documentation for contributing to the AWS provider located at https://github.com/hashicorp/terraform-provider-aws/tree/main/docs/contributing. Due to the age and size of the AWS provider, we have some older resources that don't necessarily follow the latest guidelines, so the documentation is a better guide than some of the existing resources.
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.
Hi @coderGo93, thanks for making the updates. I've added a few new comments, plus there are a number of changes left from the last review. In the cases where I've suggested an edit, you can apply them directly from GitHub or manually in your editor.
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, @coderGo93! One more note about error handling on deletion, and we'll need a changelog file as described at https://github.com/hashicorp/terraform-provider-aws/blob/main/docs/contributing/pullrequest-submission-and-lifecycle.md#changelog-process
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 great! One last change that I missed.
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! 🚀
Acceptance test results
--- PASS: TestAccAwsMacie2Account_basic (39.97s)
--- PASS: TestAccAwsMacie2Account_FindingPublishingFrequency (66.07s)
--- PASS: TestAccAwsMacie2Account_WithStatus (69.27s)
--- PASS: TestAccAwsMacie2Account_WithFindingAndStatus (66.89s)
--- PASS: TestAccAwsMacie2Account_disappears (28.31s)
This has been released in version 3.38.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 Macie2 Account called
aws_macie2_account
Community Note
Relates #13432
Output from acceptance testing: