-
Notifications
You must be signed in to change notification settings - Fork 420
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
Row access policy always marked as changed when using heredoc style SQLs #2053
Labels
bug
Used to mark issues with provider's incorrect behavior
category:resource
resource:row_access_policy
Issue connected to the snowflake_row_access_policy resource
Comments
fredriv
changed the title
Row access policy gets updated with heredoc style SQLs
Row access policy always marked as changed when using heredoc style SQLs
Sep 12, 2023
sfc-gh-jcieslak
added
category:resource
resource:row_access_policy
Issue connected to the snowflake_row_access_policy resource
labels
May 20, 2024
2 tasks
sfc-gh-jmichalak
added a commit
that referenced
this issue
Sep 13, 2024
<!-- Feel free to delete comments as you fill this in --> <!-- summary of changes --> - add show and desc output - rename fields - change signature to arguments - implement renaming - fix permadiff on body - adjust identifiers handling - adjust examples - gen resource asserts (config builders are not working because we have a required list argument) - improve handling data types - move parsing signature to sdk - support proper casing in arg names ## Test Plan <!-- detail ways in which this PR has been tested or needs to be tested --> * [x] acceptance tests <!-- add more below if you think they are relevant --> * [ ] … ## References <!-- issues documentation links, etc --> https://docs.snowflake.com/en/sql-reference/sql/create-row-access-policy #2053 #1151 ## TODO (next PR) - rework data source
sfc-gh-fbudzynski
pushed a commit
that referenced
this issue
Sep 19, 2024
<!-- Feel free to delete comments as you fill this in --> <!-- summary of changes --> - add show and desc output - rename fields - change signature to arguments - implement renaming - fix permadiff on body - adjust identifiers handling - adjust examples - gen resource asserts (config builders are not working because we have a required list argument) - improve handling data types - move parsing signature to sdk - support proper casing in arg names ## Test Plan <!-- detail ways in which this PR has been tested or needs to be tested --> * [x] acceptance tests <!-- add more below if you think they are relevant --> * [ ] … ## References <!-- issues documentation links, etc --> https://docs.snowflake.com/en/sql-reference/sql/create-row-access-policy #2053 #1151 ## TODO (next PR) - rework data source
Hi, we've released v0.96.0, which includes adjusting and fixing row access policies. Please upgrade with the migration guide. |
Closing the issue due to inactivity. Please create a new one if the issue persists in the newest version of the provider. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Used to mark issues with provider's incorrect behavior
category:resource
resource:row_access_policy
Issue connected to the snowflake_row_access_policy resource
Provider Version
0.70.1
Terraform Version
1.5.4
Describe the bug
When configuring the row access expression of a
snowflake_row_access_policy
using heredoc instead of a regular string, the resource is always marked as changed byterraform plan
/apply
.Expected behavior
I expect the resource to not be marked as changed after applying it.
Code samples and commands
Example config to trigger the issue:
Additional context
I suspect this is a similar issue as in #534?
The text was updated successfully, but these errors were encountered: