Skip to content

Commit 9406fcb

Browse files
feat: Add input_template in target_parameters for pipes (#102)
Co-authored-by: Anton Babenko <[email protected]>
1 parent a08f70f commit 9406fcb

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

examples/with-pipes/main.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,10 @@ module "eventbridge" {
134134
}
135135
}
136136

137+
target_parameters = {
138+
input_template = "{\"data\":<$.dynamodb>}"
139+
}
140+
137141
tags = {
138142
Pipe = "dynamodb_stream_source_sqs_target"
139143
}

main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -698,6 +698,7 @@ resource "aws_pipes_pipe" "this" {
698698
for_each = try([each.value.target_parameters], [])
699699

700700
content {
701+
input_template = try(target_parameters.value.input_template, null)
701702
dynamic "sqs_queue_parameters" {
702703
for_each = try([target_parameters.value.sqs_queue_parameters], [])
703704

0 commit comments

Comments
 (0)