I am experiancing an issue with organizations_admin module fails with a wierd and missleading error at the resource 'aws_guardduty_organization_configuration'.
I believe that the resource 'aws_guardduty_organization_configuration' fails to apply due to missing depends_on for resource 'aws_guardduty_organization_admin_account'.
│ Error: updating GuardDuty Organization Configuration (8c7c91f6dfe7464da1a2aa1c408013d7): BadRequestException: The request is rejected because an invalid or out-of-range value is specified as an input parameter.
│ {
│ RespMetadata: {
│ StatusCode: 400,
│ RequestID: "0c26485a-b1eb-490e-9615-9fe57806550c"
│ },
│ Message_: "The request is rejected because an invalid or out-of-range value is specified as an input parameter.",
│ Type: "InvalidInputException"
│ }
After investigating and adding the depends_on for the aws_guardduty_organization_configuration resource locally the issue is resolved.
I will be happy to contrebute and open a PR if needed. cheers
I am experiancing an issue with organizations_admin module fails with a wierd and missleading error at the resource 'aws_guardduty_organization_configuration'.
I believe that the resource 'aws_guardduty_organization_configuration' fails to apply due to missing depends_on for resource 'aws_guardduty_organization_admin_account'.
After investigating and adding the depends_on for the aws_guardduty_organization_configuration resource locally the issue is resolved.
I will be happy to contrebute and open a PR if needed. cheers