Skip to content

Commit

Permalink
Added server_side_enrytion to firehose
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgreen-moj committed Feb 1, 2024
1 parent 3ea4d70 commit 74be8cd
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions modules/kinesis_firehose_xsiam/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ resource "aws_kinesis_firehose_delivery_stream" "xsiam_delivery_stream" {
name = "xsiam-delivery-stream-${var.prefix}"
destination = "http_endpoint"

server_side_encryption {
enabled = true
}

http_endpoint_configuration {
url = var.http_endpoint
name = var.prefix
Expand All @@ -25,20 +29,6 @@ resource "aws_kinesis_firehose_delivery_stream" "xsiam_delivery_stream" {
buffer_interval = 400
compression_format = "GZIP"
}

# request_configuration {
# content_encoding = "GZIP"
#
# common_attributes {
# name = "testname"
# value = "testvalue"
# }
#
# common_attributes {
# name = "testname2"
# value = "testvalue2"
# }
# }
}

resource "aws_iam_role" "xsiam_kinesis_firehose_role" {
Expand Down

0 comments on commit 74be8cd

Please sign in to comment.