hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.84k stars 9.19k forks source link

[New Resource]: CloudTrail Lake Channel #35704

Open andredigenova opened 9 months ago

andredigenova commented 9 months ago

Description

It is now possible to pipe custom events in to CloudTrail using put-audit-events API call. To do this it requires a channel be created with custom integration

Requested Resource(s) and/or Data Source(s)

aws_cloudtrail_channel

Potential Terraform Configuration

resource "aws_cloudtrail_channel" "foo" {
  name = "foo"
  source = "Custom"

  destination {
    type = "EVENT_DATA_STORE"
    location = "arn:aws:cloudtrail:us-east-1:1234567890:eventdatastore/foo-foo-foo"
  }
}

References

No response

Would you like to implement a fix?

No

github-actions[bot] commented 9 months ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue