Skip to content
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

Allow conditional masking application in table resource #1799

Open
cooley-hi opened this issue May 12, 2023 · 0 comments
Open

Allow conditional masking application in table resource #1799

cooley-hi opened this issue May 12, 2023 · 0 comments
Labels
category:resource feature-request Used to mark issues with provider's missing functionalities resource:table_column_masking_policy_application Issue connected to the snowflake_table_column_masking_policy_application resource

Comments

@cooley-hi
Copy link

Is your feature request related to a problem? Please describe.

v0.64.0 added the ability to add conditional masking policies. Unfortunately there doesn't appear to be a way to apply those masking policies. The masking_policy variable in the column block of a table doesn't allow you to add a using() clause, which is needed to apply a conditional mask.

Describe the solution you'd like

It probably makes the most sense to use the snowflake_table_column_masking_policy_application resource, replacing the column string with a signature block that matches the masking policy schema.

Describe alternatives you've considered

rewrite the masking_policy variable in the column block of the table resource.

Additional context

@cooley-hi cooley-hi added the feature-request Used to mark issues with provider's missing functionalities label May 12, 2023
@sfc-gh-jcieslak sfc-gh-jcieslak added category:resource resource:table_column_masking_policy_application Issue connected to the snowflake_table_column_masking_policy_application resource labels May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:resource feature-request Used to mark issues with provider's missing functionalities resource:table_column_masking_policy_application Issue connected to the snowflake_table_column_masking_policy_application resource
Projects
None yet
Development

No branches or pull requests

2 participants