Skip to content

aws_cloudtrail_event_data_store to support event_enrichment block #44998

@asokolsky4clari

Description

@asokolsky4clari

Description

so that event enrichment can be supported with:

resource "aws_cloudtrail_event_data_store" "example" {
  name = "example-event-data-store-with-context"

  # Configure event enrichment
  event_enrichment {
    # Add resource tag keys to include in eventContext
    resource_tag_keys = ["Environment", "Project", "CostCenter"]

    # Add IAM global condition keys to include in eventContext (optional)
    # Example condition keys; adjust based on your actual requirements
    # principal_tag_keys = [ 
    #   "aws:PrincipalTag/Team",
    # ]
    # iam_global_condition_keys = [
    #   "aws:SourceVpc",
    #   "aws:RequestedRegion",
    # ]
  }
}

Affected Resource(s) or Data Source(s)

  • aws_cloudtrail_event_data_store

Potential Terraform Configuration

References

No response

Would you like to implement the enhancement?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementRequests to existing resources that expand the functionality or scope.needs-triageWaiting for first response or review from a maintainer.service/cloudtrailIssues and PRs that pertain to the cloudtrail service.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions