-
Notifications
You must be signed in to change notification settings - Fork 418
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
[Bug]: Behaviour change bundle 2024_08 breaks the user resource #3125
Comments
Perhaps this bug was already fixed by #3119 by @sfc-gh-asawicki... Perhaps I will have some time in the next days to go with the debugger through the code to find the correct place. However, perhaps some of you guys knows it directly. |
Hey @Relativity74205. Thanks for reaching out to us. AFAIK the bundle will be enabled by default in January, so we still have some time to address this. We should be able to adjust provider logic with this breaking change next week. Until then, do not enable the bundle while using the provider. |
The issue is also on field 'ext_authn_uid' and all the field becoming "" -> null in bundle 2024_08 The problem for default_namespace can be solved by setting a default namespace in bundle 2024_07 and then activating bundle 2024_08 only afterward. Unfortunately for ext_authn_uid there is not solution as is a read-only parameter! |
@sfc-gh-asawicki |
Terraform CLI Version
0.96.0
Terraform Provider Version
1.8.4
Terraform Configuration
Category
category:resource
Object type(s)
resource:user
Expected Behavior
No terraform plan errors for the user resource with behaviour change bundle
2024_08
.Actual Behavior
When activating the behaviour change bundle
2024_08
on our dev environment, we get the following errors when running terraform plan:Steps to Reproduce
default_namespace
) with terraform2024_08
on an account: SELECT SYSTEM$ENABLE_BEHAVIOR_CHANGE_BUNDLE('2024_08');How much impact is this issue causing?
High
Logs
No response
Additional Information
The error is most probably the following change: https://docs.snowflake.com/en/release-notes/bcr-bundles/2024_08/bcr-1798
This causes the output of the
SHOW USERS
command to change:default_namespace
is an empty stringdefault_namespace
is NULLWhen setting the
default_namespace
for the user to a value, the same error happens then with other fields, e.g.ext_authn_uid
ormins_to_unlock
.I would like to implement a fix, however, I haven't found so far the place in the code, which causes the error.
Would you like to implement a fix?
The text was updated successfully, but these errors were encountered: