We have deployed Snowplow on AWS using secure Terraform modules. Target database is Databricks.
When we send test events from Snowplow site, we can see data in the cluster.
However, when we try to send events using our custom schemas, no data reaches the database. All default schemas and all of our custom schemas were pushed to our Iglu registry.
In the logs we can see messages like this
rg.http4s.client.ConnectionFailure: Error connecting to [http://localhost](http://localhost) using address localhost:80 (unresolved: false)
Hi @cealkate it looks like your Iglu Resolver is pointing to “localhost:80” which unless your Iglu Server is running on the same VM as the other applications in your pipeline won’t be possible to connect to.
You will need to update your Iglu Resolver to point to your deployed Iglu Server connection endpoint (the load balancer).
Thanks for the reply. We checked the configuration of the resolver and the value for its uri variable comes from the load balancer DNS record, it’s not localhost.
The right value is also in the DynamoDB table sp-prod-enrich-server-config.
Hello,
The variables file might not be very useful, since it doesn’t contain values. We split the deployment in modules. I can share those parts that involve Iglu resolver.
Here is the part of main.tf file for the pipeline that describes resolvers