-
Notifications
You must be signed in to change notification settings - Fork 427
New issue
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
unable to scan row for SHOW ORGANIZATION ACCOUNTS #1606
Comments
I am having the same problem. Terraform version: Providers: |
Same issue started today for me after the code has been working for weeks. Error is: Error: error reading account: unable to scan row for SHOW ORGANIZATION ACCOUNTS LIKE 'ACCT1234' err = missing destination name is_org_admin in *[]snowflake.Account Terraform: v1.2.1 |
I've opened a support case with Snowflake and pointed them at this issue for some extra context. |
I just noticed that according to QUERY_HISTORY_BY_USER in Snowflake the "SHOW ORGANIZATION ACCOUNTS..." statement was working until this morning. I also noticed that according to QUERY_HISTORY_BY_USER the RELEASE_VERSION went from 7.6.4 to 7.7.4 between the time the query worked and now when it does not. I will open a ticket with Snowflake support as well. |
Per this link, this issue was introduced in the 2023_01 bundle: SHOW-ORGANIZATION-ACCOUNTS-New-Column-in-Output Snowflake support gave us this as a temporary workaround until a fix for the provider can be made:
|
Hitting this same issue. I suspect the fix is adding
to this account struct:
|
Hi everyone, as you suspected this bug was introduced by the addition of the |
Provider Version
provider registry.terraform.io/snowflake-labs/snowflake v0.56.0
Terraform Version
Terraform v1.3.6
Describe the bug
terraform plan
crashes with this error:Expected behavior
No error message.
Code samples and commands
Additional context
Note that when I run the same query as described in the error message (
SHOW ORGANIZATION ACCOUNTS LIKE 'ABC12345'
) in the Snowflake console, it returns the expected results (1 row). And theis_org_admin
column evaluates tofalse
.And this Terraform code has been working fine for us for many months, this seemingly just broke randomly.
The text was updated successfully, but these errors were encountered: