Open UttamChavanCvt opened 3 weeks ago
Hey @UttamChavanCvt. Thanks for reaching out to us.
You need to specify okta_url
too (currently there is no requirement in the config; we will rework it as part of https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/ROADMAP.md#providers-configuration-rework).
Thank you Artur Sawicki, I have tried with providing okta_url value but still face the same issue. Is there any work around for it?
It should work, so there is no workaround. We just pass the connection parameters to the underlying Gosnowflake driver (you can check the parameters here: https://pkg.go.dev/github.com/snowflakedb/gosnowflake#hdr-Connection_Parameters). But as I said the parameters rework is incoming (https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/ROADMAP.md#providers-configuration-rework).
Hey @UttamChavanCvt, were you able to resolve the issue?
Hi @sfc-gh-asawicki no luck. facing the same issue.
I was able to reproduce the same error when the okta_url
was removed from the following config:
user = "user_saml_2"
password = "***"
account = "***.***.us-west-2.aws"
authenticator = "Okta"
okta_url = "https://***.okta.com/"
role = "PUBLIC"
so it seems that it works as described.
Can you check if you don't have more provider aliases that may also need this setting? TBH I have no other suggestion.
Terraform CLI Version
v1.8.1
Terraform Provider Version
v0.92.0
Terraform Configuration
Category
category:resource
Object type(s)
No response
Expected Behavior
terraform plan should be run without any plugin crash
Actual Behavior
terraform plan is filing
Steps to Reproduce
terraform { required_providers { snowflake = { source = "Snowflake-Labs/snowflake" version = "0.92.0" } } } provider "snowflake" { user = var.snowflake_username account = var.snowflake_account role = var.snowflake_role authenticator = "Okta" }
terraform plan is causing the issue
How much impact is this issue causing?
High
Logs
No response
Additional Information
Would you like to implement a fix?