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

[Bug]: operation error Pipes: CreatePipe, https response error StatusCode: 400, RequestID: 75d35fe2-dc4c-43d1-af52-301f0073f3c5, ValidationException: {"ValidationErrorFields":[{"Name":"SourceParameters.ManagedStreamingKafkaParameters","Message":"Missing required parameter."}]} #32018

Closed
solagappan opened this issue Jun 15, 2023 · 2 comments · Fixed by #31607
Labels
bug Addresses a defect in current functionality. service/pipes Issues and PRs that pertain to the pipes service.

Comments

@solagappan
Copy link

solagappan commented Jun 15, 2023

Terraform Core Version

1.3.0

AWS Provider Version

5.3.0

Affected Resource(s)

aws_pipes_pipe

Expected Behavior

Changed applied successfully

Actual Behavior

Error

Relevant Error/Panic Output Snippet

Error: creating Amazon EventBridge Pipes Pipe (test-eventbridge-pipe): operation error Pipes: CreatePipe, https response error StatusCode: 400, RequestID: 75d35fe2-dc4c-43d1-af52-301f0073f3c5, ValidationException: {"ValidationErrorFields":[{"Name":"SourceParameters.ManagedStreamingKafkaParameters","Message":"Missing required parameter."}]}

Terraform Configuration Files

# code snippet
resource "aws_pipes_pipe" "test-eventbridge-pipe" {
  name = "test-eventbridge-pipe"
  role_arn = aws_iam_role.test-eventbridge-pipe-role.arn
  source = var.msk_cluster_arn
  target = var.sns_topic_arn
  source_parameters {
    filter_criteria {
      filter{
        pattern = jsonencode({
          "value": {
            "data": {
              "event_type": [{
                "prefix": "PURCHASE_ORDER"
              }]
            },
            "metadata": {
              "operation": [{
                "prefix": "created"
              }]
            }
          }
        })
      }
    }
  }
  target_parameters {
    input_template = "<$.value.data.event>"
  }
  tags = {
    Env = "${lower(var.env)}"
  }
}

Steps to Reproduce

Terraform v1.3.0 on darwin_arm64

  • provider registry.terraform.io/hashicorp/aws v5.3.0

"terraform apply" command failed with error msg.

Debug Output

No response

Panic Output

No response

Important Factoids

No response

References

No response

Would you like to implement a fix?

None

@solagappan solagappan added bug Addresses a defect in current functionality. needs-triage Waiting for first response or review from a maintainer. labels Jun 15, 2023
@github-actions
Copy link

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@github-actions github-actions bot added the service/pipes Issues and PRs that pertain to the pipes service. label Jun 15, 2023
@ewbankkit ewbankkit removed the needs-triage Waiting for first response or review from a maintainer. label Jun 15, 2023
@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. service/pipes Issues and PRs that pertain to the pipes service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants