Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add input_template in target_parameters for pipes #102

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add input_template in target_parameters for pipes
RicardoLinck committed Dec 9, 2023

Verified

This commit was signed with the committer’s verified signature.
Spasi Ioannis Tsakpinis
commit eee7e29e3809a762c279e2382fdce6a080f25e4b
4 changes: 4 additions & 0 deletions examples/with-pipes/main.tf
Original file line number Diff line number Diff line change
@@ -134,6 +134,10 @@ module "eventbridge" {
}
}

target_parameters = {
input_template = "{\"data\":<$.dynamodb>}"
}

tags = {
Pipe = "dynamodb_stream_source_sqs_target"
}
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
@@ -697,6 +697,7 @@ resource "aws_pipes_pipe" "this" {
for_each = try([each.value.target_parameters], [])

content {
input_template = try(target_parameters.value.input_template, null)
dynamic "sqs_queue_parameters" {
for_each = try([target_parameters.value.sqs_queue_parameters], [])