Open catlike opened 4 months ago
Voting for Prioritization
Volunteering to Work on This Issue
@catlike According to UpdateOrganizationConfiguration, dataSources
is deprecated in favor of features
, which already supports RDS_LOGIN_EVENTS
. The aws_guardduty_detector_feature
resource and the aws_guardduty_organization_configuration_feature
resource should help you achieve what you need depending on whether you are working with standalone or organization configuration.
The aws_guardduty_organization_configuration
documentation needs to be updated to indicate that datasources
is deprecated, in a similar manner to what was done for aws_guardduty_detector
.
(I came across this issue and wasn't aware aws_guardduty_organization_configuration_feature
existed).
Description
The aws_guardduty_organization_configuration resource should support RDS_LOGIN_EVENTS as a datasource
Affected Resource(s) and/or Data Source(s)
aws_guardduty_organization_configuration
Potential Terraform Configuration
References
https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DetectorFeatureConfiguration.html https://docs.aws.amazon.com/guardduty/latest/ug/rds-protection.html https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/guardduty_organization_configuration
Would you like to implement a fix?
Yes