snowflake_role_grants
updates state to incorrect
#1204
Labels
bug
Used to mark issues with provider's incorrect behavior
Provider Version
0.33.1
Terraform Version
v1.1.9
Describe the bug
When trying to change the name of
snowflake_role
,snowflake_role_grants
updates the terraform state to incorrect.After the update, we cannot change the state anymore.
Expected behavior
updates
snowflake_role_grants
with no errors.Code samples and commands
step1. run
terrafom apply
as below at first.step2. change the name "GRANTS_TEST" -> "GRANTS_TEST_2"
step3. run
terraform apply
, and output the error.(even with this error message, resources on snowflake were successfully updated)
Workaround
step0. do Code samples and commands
step1. rm the grants state
step2. import the grants state from snowflake
step3. run
terraform apply
The text was updated successfully, but these errors were encountered: