-
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: aws_guardduty_invite_accepter #4610
Conversation
Are there any updates on this?? |
@connor-tyndall sorry for the delay with merging this resource. The work in progress note is fairly important for us to provide reliable and reproducible acceptance testing for this and other resource acceptance testing that works across multiple AWS accounts. There have been a few other priorities that have gotten in the way of focusing on finishing that up. It'd be really helpful if folks could potentially try out a custom build of this branch and confirm it works as expected. There likely (although I can't promise) won't be any breaking changes to the resource itself to get it merged. |
fe05820
to
c2300ec
Compare
@bflad I've successfully reproduced the test results against a couple of test AWS Accounts at my disposal. I tested the original branch as well as a rebased branch (after fixing a trivial conflict). Let me know how I can further help as we're looking forward to leveraging this resource to roll out GuardDuty to our numerous accounts.
|
c2300ec
to
1274a83
Compare
Reference: #2489 Output from acceptance testing: ``` --- PASS: TestAccAWSGuardDuty/InviteAccepter (18.16s) --- PASS: TestAccAWSGuardDuty/InviteAccepter/basic (18.16s) ```
1274a83
to
a1df6ba
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.
One minor nit but otherwise good to go. Nicely Done 👍
conn := meta.(*AWSClient).guarddutyconn | ||
|
||
detectorID := d.Get("detector_id").(string) | ||
invitationID := "" |
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.
invitationID := "" | |
var invitationID string |
var
is preferred when declaring and initializing a variable to its zero value
This has been released in version 2.2.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Closes #2489
Changes proposed in this pull request:
Output from acceptance testing: