createRowAccessPolicy
Last updated: January 28, 2026
Creates a new row access policy in Snowflake. Row access policies control which rows can be accessed based on the policy expression and arguments mapped to table columns.
This change type supports automatic rollback, which will generate a dropRowAccessPolicy change.
Note: This change type does not support database inspection features (snapshot, diff, diff-changelog, and generate-changelog commands).
Available Attributes
Attribute | Type | Description | Required |
| String | Name of the catalog (database) where the policy will be created | No |
| String | Name of the schema where the policy will be created | No |
| String | Name of the row access policy to create | Yes |
| Boolean | If true, replaces the policy if it already exists using | No* |
| Boolean | If true, only creates the policy if it doesn't already exist using | No* |
| String | Descriptive comment for the policy | No |
| MapWrapper | Key-value pairs defining policy arguments (name -> data type). At least one argument required. Each policy argument must have a non-empty name and data type. | Yes |
| String | Boolean expression that determines row access using the policy arguments | Yes |