Skip to content

User network policy attachments and migration to v0.95 #3048

Answered by sfc-gh-asawicki
ppo-38 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @ppo-38. Yes, I will update the migration guide, because this is not clear there.

Essentially, this resource should be treated similarly to snowflake_user_public_key (which is mentioned in the migration guide here: https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/MIGRATION_GUIDE.md#breaking-change-snowflake_user_public_keys-usage-with-snowflake_user). There are two differences, though:

  1. There is also an account option (https://registry.terraform.io/providers/Snowflake-Labs/snowflake/latest/docs/resources/network_policy_attachment#set_for_account). It is also available through the snowflake_account_parameter resource.
  2. Multiple users are handled in the resource.

W…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by ppo-38
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@sfc-gh-asawicki
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants