confluentinc / terraform-provider-confluent

Terraform Provider for Confluent
Apache License 2.0
31 stars 64 forks source link

Error: error creating Connector: error creating Connector: error sending validation request: 404 Not Found #402

Closed npfp closed 4 months ago

npfp commented 4 months ago

Hello team,

When trying to create a s3 sink connector with the terraform plugin based on the s3-sink-connector example , I got the following error

Error: error creating Connector: error creating Connector: error sending validation request: 404 Not Found

Unfortunately, the error is not very informative and I can't understand either the error comes from some wrong settings/authorisations linked to Confluent or linked to AWS.

Would you mind going me some pointers on how I could fix this error?

Thx!

linouk23 commented 4 months ago

@npfp thanks for waiting!

Could you confirm if you ran into this issue with this resource definition?

npfp commented 4 months ago

Hi @linouk23

Many thx to get back to me. Indeed, I used this resource definition and finally got the reason:

environment {
    id = confluent_environment.staging.id
  }

wasn't correctly set (I was using a wrong terraform variable) so the error. It took me some time to get to it as I was more looking on the aws credentials part.