I’m working through the quickstart guide and have reached another roadblock. The snowflake terraform script is asking me for a password for my private key. I did not create a private key with a password. I have been able to successfully access the snowflake API using the same key, so I am certain the problem is not the key.
This is the error I’m getting:
Terraform planned the following actions, but then encountered a problem:
[…]
│ Error: could not build dsn for snowflake connection: Private Key could not be parsed: Private key requires a passphrase, but private_key_passphrase was not supplied
Hey @scelerat the current quick-start for Snowflake is a little out of date from our latest way of operating (its in my backlog to get the guides updated!).
We have moved away from maintaining Terraform code for setting up the Snowflake elements and instead now just require a few lines of SQL to be executed for the setup part. Would you be able to give that a try and see if you can get the quick-start working in that way?
So when I run terraform plan, I get a message that says
collector_dns_name = (known after apply)
When I run apply, I get a bunch of Errors (because resources have already been created), but I never see a real value for the collector_dns. Is it hidden somewhere in a config file?
All of the errors I’m getting are “already exists” errors. So I interpreted that as things have been created successfully at one point, and the repeated run of ‘apply’ is resulting in an error. Is there a way to tear down the resources and start over from terraform, or do I just need to do that manually through the AWS console?
Hi Josh, I wonder if there is any way you can help. I’m at a dead end. I have started fresh from a new AWS account, trying to follow the snowplow quickstart instructions, and I still get these “resource already created” errors when I run terraform apply. I don’t know how to get around this