From 78544983dbfc7016b435805e351cf5afaea37e68 Mon Sep 17 00:00:00 2001 From: Tom Batchelor Date: Tue, 8 Oct 2024 17:18:47 -0700 Subject: [PATCH] feat: add http_endpoint_s3_backup_mode var to cross-account --- examples/cross-account/main.tf | 2 ++ examples/cross-account/variables.tf | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/examples/cross-account/main.tf b/examples/cross-account/main.tf index 47ed317..512def8 100644 --- a/examples/cross-account/main.tf +++ b/examples/cross-account/main.tf @@ -15,6 +15,8 @@ module "observe_kinesis_firehose" { name = var.name cloudwatch_log_group = aws_cloudwatch_log_group.group + + http_endpoint_s3_backup_mode = var.http_endpoint_s3_backup_mode } resource "aws_iam_role" "this" { diff --git a/examples/cross-account/variables.tf b/examples/cross-account/variables.tf index a68a4e7..cb9eed1 100644 --- a/examples/cross-account/variables.tf +++ b/examples/cross-account/variables.tf @@ -13,6 +13,13 @@ variable "name" { description = "Name for firehose and matching IAM role" } +variable "http_endpoint_s3_backup_mode" { + type = string + description = "S3 backup mode for Kinesis Firehose HTTP endpoint. By default, only data that cannot be delivered to Observe via HTTP is written to S3. To backup all data to S3, set this to `AllData`." + nullable = false + default = "FailedDataOnly" +} + variable "user_arn" { type = string description = "ARN for external user granted access to assume role"