You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to breaking changes in Snowflake provider and additional code optimizations, **breaking changes** were introduced in `v2.0.0` version of this module.
50
50
51
-
Lst of code and variable (API) changes:
51
+
List of code and variable (API) changes:
52
52
- Switched to `snowflake_grant_ownership` resource instead of provider-removed `snowflake_role_ownership_grant`
53
53
- Switched to `snowflake_database_role` module to leverage new `database_roles` mechanism
54
54
-`default_roles` and `custom_roles` are now combined and managed by single module
55
-
-`create_default_roles` variable was renamed to `create_default_databse_roles`
55
+
-`create_default_roles` variable was renamed to `create_default_database_roles`
56
56
-`roles` variable map received following additions:
57
57
-`all_privileges` - optional, bool
58
58
-`on_all` - optional, bool, defaults to false
@@ -88,7 +88,7 @@ For more information, refer to [variables.tf](variables.tf), list of inputs belo
88
88
| <aname="input_comment"></a> [comment](#input\_comment)| Specifies a comment for the stage |`string`|`null`| no |
89
89
| <aname="input_context"></a> [context](#input\_context)| Single object for setting entire context at once.<br>See description of individual variables for details.<br>Leave string and numeric variables as `null` to use default value.<br>Individual variable settings (non-null) override settings in context object,<br>except for attributes, tags, and additional\_tag\_map, which are merged. |`any`| <pre>{<br> "additional_tag_map": {},<br> "attributes": [],<br> "delimiter": null,<br> "descriptor_formats": {},<br> "enabled": true,<br> "environment": null,<br> "id_length_limit": null,<br> "label_key_case": null,<br> "label_order": [],<br> "label_value_case": null,<br> "labels_as_tags": [<br> "unset"<br> ],<br> "name": null,<br> "namespace": null,<br> "regex_replace_chars": null,<br> "stage": null,<br> "tags": {},<br> "tenant": null<br>}</pre> | no |
90
90
| <aname="input_copy_options"></a> [copy\_options](#input\_copy\_options)| Specifies the copy options for the stage |`string`|`null`| no |
91
-
| <aname="input_create_default_databse_roles"></a> [create\_default\_databse\_roles](#input\_create\_default\_databse\_roles)| Whether the default database roles should be created |`bool`|`false`| no |
91
+
| <aname="input_create_default_database_roles"></a> [create\_default\_database\_roles](#input\_create\_default\_database\_roles)| Whether the default database roles should be created |`bool`|`false`| no |
92
92
| <aname="input_credentials"></a> [credentials](#input\_credentials)| Specifies the credentials for the stage |`string`|`null`| no |
93
93
| <aname="input_database"></a> [database](#input\_database)| The database in which to create the stage |`string`| n/a | yes |
94
94
| <aname="input_delimiter"></a> [delimiter](#input\_delimiter)| Delimiter to be used between ID elements.<br>Defaults to `-` (hyphen). Set to `""` to use no delimiter at all. |`string`|`null`| no |
@@ -107,7 +107,7 @@ For more information, refer to [variables.tf](variables.tf), list of inputs belo
107
107
| <aname="input_name"></a> [name](#input\_name)| ID element. Usually the component or solution name, e.g. 'app' or 'jenkins'.<br>This is the only ID element not also included as a `tag`.<br>The "name" tag is set to the full `id` string. There is no tag with the value of the `name` input. |`string`|`null`| no |
108
108
| <aname="input_namespace"></a> [namespace](#input\_namespace)| ID element. Usually an abbreviation of your organization name, e.g. 'eg' or 'cp', to help ensure generated IDs are globally unique |`string`|`null`| no |
109
109
| <aname="input_regex_replace_chars"></a> [regex\_replace\_chars](#input\_regex\_replace\_chars)| Terraform regular expression (regex) string.<br>Characters matching the regex will be removed from the ID elements.<br>If not set, `"/[^a-zA-Z0-9-]/"` is used to remove all characters other than hyphens, letters and digits. |`string`|`null`| no |
| <aname="input_schema"></a> [schema](#input\_schema)| The schema in which to create the stage |`string`| n/a | yes |
112
112
| <aname="input_snowflake_iam_user"></a> [snowflake\_iam\_user](#input\_snowflake\_iam\_user)| Specifies the Snowflake IAM user |`string`|`null`| no |
113
113
| <aname="input_stage"></a> [stage](#input\_stage)| ID element. Usually used to indicate role, e.g. 'prod', 'staging', 'source', 'build', 'test', 'deploy', 'release' |`string`|`null`| no |
@@ -130,7 +130,7 @@ For more information, refer to [variables.tf](variables.tf), list of inputs belo
130
130
131
131
| Name | Description |
132
132
|------|-------------|
133
-
| <aname="output_databse_roles"></a> [databse\_roles](#output\_databse\_roles)| This stage access roles |
133
+
| <aname="output_database_roles"></a> [database\_roles](#output\_database\_roles)| This stage access roles |
134
134
| <aname="output_name"></a> [name](#output\_name)| Name of the stage |
0 commit comments