[General Usage]: Migrate snowflake_role
to snowflake_account_role
#3037
Labels
general-usage
General help/usage questions
snowflake_role
to snowflake_account_role
#3037
Terraform CLI Version
1.8.5
Terraform Provider Version
0.94.1
Terraform Configuration
Category
category:resource
Object type(s)
No response
Expected Behavior
Migration
snowflake_role
->snowflake_account_role
without DROP ROLE.I would like to avoid state manipulation using CLI.
Actual Behavior
Removing resource
snowflake_role
caused resource destroy and drop role.Steps to Reproduce
I've used snowflake role resource
After updating to
0.94.x
resource has been deprecated in favor ofsnowflake_account_role
.Therefore, I added new resource with proper import.
Resource has been imported correctly.
In the next run, I tried to remove deprecated resources along with import statement. It ended with
However, removing resource
snowflake_role
caused resource destroy and drop role.How to migrate
snowflake_role
->snowflake_account_role
without DROP ROLE? I would like to avoid state manipulation using CLI.How much impact is this issue causing?
Medium
Logs
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: