[Bug]: Terraform import of snowflake_tag_masking_policy_association is not working correctly #3148
Labels
bug
Used to mark issues with provider's incorrect behavior
resource:tag_masking_policy_association
Issue connected to the snowflake_tag_masking_policy_association resource
Terraform CLI Version
1.9.8
Terraform Provider Version
0.97.0
Terraform Configuration
Category
category:resource
Object type(s)
No response
Expected Behavior
tag_id = snowflake_tag.this.fully_qualified_name
masking_policy_id = snowflake_masking_policy.example_masking_policy.fully_qualified_name
Actual Behavior
{
"address":"module.tag.snowflake_tag_masking_policy_association.KIPI_ANALYSIS_DATA_MASKING_privacy_category_custom_PHI_REDACTED_MASK",
"mode":"managed",
"type":"snowflake_tag_masking_policy_association",
"name":"KIPI_ANALYSIS_DATA_MASKING_privacy_category_custom_PHI_REDACTED_MASK",
"provider_name":"registry.terraform.io/snowflake-labs/snowflake",
"schema_version":0,
"values":{
"id":"KIPI_ANALYSIS|DATA_MASKING|PRIVACY_CATEGORY_CUSTOM|RAW_PRODUCTION_DB|PG_LOG_PUBLIC|PHI_REDACTED_MASK",
"masking_policy_id":null,
"tag_id":null
},
"sensitive_values":{
Steps to Reproduce
Import any snowflake_tag_masking_policy_association association in terraform state.
How much impact is this issue causing?
High
Logs
No response
Additional Information
Would you like to implement a fix?
The text was updated successfully, but these errors were encountered: