Skip to content
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

Guardduty auto_enable is deprecated #37

Open
zachreborn opened this issue Dec 30, 2023 · 0 comments
Open

Guardduty auto_enable is deprecated #37

zachreborn opened this issue Dec 30, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@zachreborn
Copy link
Owner

zachreborn commented Dec 30, 2023

Describe the bug

For guardduty usage with organizations, auto_enable is deprecated in favor of auto_enable_organization_members

Warning: Argument is deprecated
with module.guardduty.aws_guardduty_organization_configuration.this
on .terraform/modules/guardduty/modules/aws/guardduty/organization/main.tf line 34, in resource "aws_guardduty_organization_configuration" "this":
  auto_enable = var.auto_enable
Use auto_enable_organization_members instead

To Reproduce

Steps to reproduce the behavior:
Version = v2.11.0

module "guardduty" {
  source = "github.com/zachreborn/terraform-modules//modules/aws/guardduty/organization?ref=v2.11.0"
  providers = {
    aws.organization_management_account = aws.organization_management_account
    aws.organization_security_account   = aws.organization_security_account
  }
  admin_account_id = module.octo_security.id
}

Expected behavior

No errors during planning

Problems

Deprecate auto_enable and transition to auto_enable_organization_members

Solution

Confirmation

@zachreborn zachreborn added the bug Something isn't working label Dec 30, 2023
@zachreborn zachreborn self-assigned this Dec 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant