terraform-provider-snowflake
terraform-provider-snowflake copied to clipboard
Unable to connect snowflake with user/password authentication
Discussed in https://github.com/chanzuckerberg/terraform-provider-snowflake/discussions/937
Originally posted by anikarunakaran March 18, 2022 Does anyone know why i am getting below given error while using user/password authentication for snowflake?.
terraform { required_providers { snowflake = { source = "chanzuckerberg/snowflake" version = "0.28.7" } } }
provider "snowflake" {
Configuration options
username = "admin" account = "xxxxxx" region = "east-us-2.azure" password = "xxxxxxxx" }
resource "snowflake_database" "demo_db" { name = "demo_db" }
=====================================
Error: Conflicting configuration arguments │ │ with provider["registry.terraform.io/chanzuckerberg/snowflake"], │ on main.tf line 10, in provider "snowflake": │ 10: provider "snowflake" { │ │ "private_key_path": conflicts with password
Check if you have SNOWFLAKE_PRIVATE_KEY_PATH in your env variables. That variable is injected into private_key_path
Are you still having issues connecting to snowflake?
We are closing this issue as part of a cleanup described in announcement. If you believe that the issue is still valid in v0.89.0, please open a new ticket.