amazon-guardduty-for-aws-organizations-with-terraform
amazon-guardduty-for-aws-organizations-with-terraform copied to clipboard
Use auto_enable_organization_members to enroll existing accounts
Description of changes:
Switches auto_enable = true
to auto_enable_organization_members = "ALL"
, and removes resources for adding guardduty members.
The original argument is now deprecated, which this resolves. This change means that guard duty will be enabled across existing organisation members as before but the API documentation states that this will occur within 24 hours, which might be considered a change in behaviour.
This option in the API seems to be something that was introduced in August 2023
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.