We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
0.78
provider "snowflake" { account = var.snowflake_account_locator username = var.snowflake_svc # private_key_path = var.private_key_path private_key = var.private_key role = var.terraform_role warehouse = var.terraform_warehouse }
Like in version 0.73 is authenticate using private key
gives following error: ╷ │ Error: 260002: password is empty │ │ with provider["registry.terraform.io/snowflake-labs/snowflake"], │ on main.tf line 21, in provider "snowflake": │ 21: provider "snowflake" { │ ╵ Operation failed: failed running terraform plan (exit 1)
and cannot authenticate.
terraform plan
High
No response
The text was updated successfully, but these errors were encountered:
Hey @baabaakz. Thanks for reaching out.
Versions in between introduced some changes to the configuration. You can read about them here: https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/MIGRATION_GUIDE.md#migration-guide and here: #2169 (comment).
It seems that in your case, you have to:
username
user
authenticator
JWT
Sorry, something went wrong.
Can these kind of changes be added here https://registry.terraform.io/providers/Snowflake-Labs/snowflake/latest/docs It's not very clear, I was only able to fix it once I found your answer (thanks for that btw!)
@sdiazben, it's great to hear that it solved your problem.
We are working on clarity in the docs. As you suggested, we will update the migration guide and probably link it to the Terraform docs.
Could you please close the issue?
@sfc-gh-asawicki thanks for the solution. Yeah it worked. Thank you. let’s close this issue
No branches or pull requests
Terraform CLI and Provider Versions
0.78
Terraform Configuration
Expected Behavior
Like in version 0.73 is authenticate using private key
Actual Behavior
gives following error:
╷
│ Error: 260002: password is empty
│
│ with provider["registry.terraform.io/snowflake-labs/snowflake"],
│ on main.tf line 21, in provider "snowflake":
│ 21: provider "snowflake" {
│
╵
Operation failed: failed running terraform plan (exit 1)
and cannot authenticate.
Steps to Reproduce
terraform plan
How much impact is this issue causing?
High
Logs
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: