terraform-aws-cloudtrail icon indicating copy to clipboard operation
terraform-aws-cloudtrail copied to clipboard

Unable to use exclude_management_event_sources in event_selector

Open Hitesh-Agrawal opened this issue 3 years ago • 1 comments

Found a bug? Maybe our Slack Community can help.

Slack Community

Describe the Bug

Unable to use exclude_management_event_sources in event_selector

Expected Behavior

We should be able to use something like event_selector = [{ exclude_management_event_sources = ["kms.amazonaws.com","rdsdata.amazonaws.com"] include_management_events = true read_write_type = "WriteOnly" } ]

But looks like exclude_management_event_sources is not implemented

Check https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudtrail#exclude_management_event_sources

Hitesh-Agrawal avatar Feb 10 '22 08:02 Hitesh-Agrawal

@Hitesh-Agrawal i've done a PR to fix this (and its owrking in our env). I just need a review on this or however these are getting merged in.

mattjamesaus avatar Apr 26 '23 00:04 mattjamesaus