pulumi-snowflake 1.2.0a1742884666__py3-none-any.whl → 1.2.0a1743057304__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -217,6 +217,14 @@ Specifies the role to use by default for accessing Snowflake objects in the clie
217
217
  `SNOWFLAKE_ROLE` environment variable.
218
218
  """
219
219
 
220
+ skipTomlFilePermissionVerification: Optional[bool]
221
+ """
222
+ True by default. Skips TOML configuration file permission verification. This flag has no effect on Windows systems, as
223
+ the permissions are not checked on this platform. We recommend setting this to `false` and setting the proper privileges
224
+ - see the section below. Can also be sourced from the `SNOWFLAKE_SKIP_TOML_FILE_PERMISSION_VERIFICATION` environment
225
+ variable.
226
+ """
227
+
220
228
  tmpDirectoryPath: Optional[str]
221
229
  """
222
230
  Sets temporary directory used by the driver for operations like encrypting, compressing etc. Can also be sourced from
@@ -291,6 +291,16 @@ class _ExportableConfig(types.ModuleType):
291
291
  """
292
292
  return __config__.get('role') or _utilities.get_env('SNOWFLAKE_ROLE')
293
293
 
294
+ @property
295
+ def skip_toml_file_permission_verification(self) -> Optional[bool]:
296
+ """
297
+ True by default. Skips TOML configuration file permission verification. This flag has no effect on Windows systems, as
298
+ the permissions are not checked on this platform. We recommend setting this to `false` and setting the proper privileges
299
+ - see the section below. Can also be sourced from the `SNOWFLAKE_SKIP_TOML_FILE_PERMISSION_VERIFICATION` environment
300
+ variable.
301
+ """
302
+ return __config__.get_bool('skipTomlFilePermissionVerification')
303
+
294
304
  @property
295
305
  def tmp_directory_path(self) -> Optional[str]:
296
306
  """
@@ -130,7 +130,7 @@ def get_users(like: Optional[str] = None,
130
130
  with_parameters: Optional[bool] = None,
131
131
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetUsersResult:
132
132
  """
133
- Data source used to get details of filtered users. Filtering is aligned with the current possibilities for [SHOW USERS](https://docs.snowflake.com/en/sql-reference/sql/show-users) query. The results of SHOW, DESCRIBE, and SHOW PARAMETERS IN are encapsulated in one output collection. Important note is that when querying users you don't have permissions to, the querying options are limited. You won't get almost any field in `show_output` (only empty or default values), the DESCRIBE command cannot be called, so you have to set `with_describe = false`. Only `parameters` output is not affected by the lack of privileges.
133
+ Data source used to get details of filtered users. Filtering is aligned with the current possibilities for [SHOW USERS](https://docs.snowflake.com/en/sql-reference/sql/show-users) query. The results of SHOW, DESCRIBE, and SHOW PARAMETERS IN are encapsulated in one output collection. Important note is that when querying users you don't have permissions to, the querying options are limited. You won't get almost any field in `show_output` (only empty or default values), the DESCRIBE command will return error when called, so you have to set `with_describe = false`; the SHOW PARAMETERS command will return error when called too, so you have to set `with_parameters = false`.
134
134
 
135
135
 
136
136
  :param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
@@ -163,7 +163,7 @@ def get_users_output(like: Optional[pulumi.Input[Optional[str]]] = None,
163
163
  with_parameters: Optional[pulumi.Input[Optional[bool]]] = None,
164
164
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetUsersResult]:
165
165
  """
166
- Data source used to get details of filtered users. Filtering is aligned with the current possibilities for [SHOW USERS](https://docs.snowflake.com/en/sql-reference/sql/show-users) query. The results of SHOW, DESCRIBE, and SHOW PARAMETERS IN are encapsulated in one output collection. Important note is that when querying users you don't have permissions to, the querying options are limited. You won't get almost any field in `show_output` (only empty or default values), the DESCRIBE command cannot be called, so you have to set `with_describe = false`. Only `parameters` output is not affected by the lack of privileges.
166
+ Data source used to get details of filtered users. Filtering is aligned with the current possibilities for [SHOW USERS](https://docs.snowflake.com/en/sql-reference/sql/show-users) query. The results of SHOW, DESCRIBE, and SHOW PARAMETERS IN are encapsulated in one output collection. Important note is that when querying users you don't have permissions to, the querying options are limited. You won't get almost any field in `show_output` (only empty or default values), the DESCRIBE command will return error when called, so you have to set `with_describe = false`; the SHOW PARAMETERS command will return error when called too, so you have to set `with_parameters = false`.
167
167
 
168
168
 
169
169
  :param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
@@ -37,7 +37,7 @@ class MaskingPolicyArgs:
37
37
  :param pulumi.Input[str] return_data_type: The return data type must match the input data type of the first column that is specified as an input column. For more information about data types, check [Snowflake docs](https://docs.snowflake.com/en/sql-reference/intro-summary-data-types).
38
38
  :param pulumi.Input[str] schema: The schema in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
39
39
  :param pulumi.Input[str] comment: Specifies a comment for the masking policy.
40
- :param pulumi.Input[str] exempt_other_policies: Specifies whether the row access policy or conditional masking policy can reference a column that is already protected by a masking policy. Due to Snowflake limitations, when value is chenged, the resource is recreated. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
40
+ :param pulumi.Input[str] exempt_other_policies: Specifies whether the row access policy or conditional masking policy can reference a column that is already protected by a masking policy. Due to Snowflake limitations, when value is changed, the resource is recreated. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
41
41
  :param pulumi.Input[str] name: Specifies the identifier for the masking policy; must be unique for the database and schema in which the masking policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
42
42
  """
43
43
  pulumi.set(__self__, "arguments", arguments)
@@ -128,7 +128,7 @@ class MaskingPolicyArgs:
128
128
  @pulumi.getter(name="exemptOtherPolicies")
129
129
  def exempt_other_policies(self) -> Optional[pulumi.Input[str]]:
130
130
  """
131
- Specifies whether the row access policy or conditional masking policy can reference a column that is already protected by a masking policy. Due to Snowflake limitations, when value is chenged, the resource is recreated. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
131
+ Specifies whether the row access policy or conditional masking policy can reference a column that is already protected by a masking policy. Due to Snowflake limitations, when value is changed, the resource is recreated. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
132
132
  """
133
133
  return pulumi.get(self, "exempt_other_policies")
134
134
 
@@ -170,7 +170,7 @@ class _MaskingPolicyState:
170
170
  :param pulumi.Input[str] comment: Specifies a comment for the masking policy.
171
171
  :param pulumi.Input[str] database: The database in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
172
172
  :param pulumi.Input[Sequence[pulumi.Input['MaskingPolicyDescribeOutputArgs']]] describe_outputs: Outputs the result of `DESCRIBE MASKING POLICY` for the given masking policy.
173
- :param pulumi.Input[str] exempt_other_policies: Specifies whether the row access policy or conditional masking policy can reference a column that is already protected by a masking policy. Due to Snowflake limitations, when value is chenged, the resource is recreated. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
173
+ :param pulumi.Input[str] exempt_other_policies: Specifies whether the row access policy or conditional masking policy can reference a column that is already protected by a masking policy. Due to Snowflake limitations, when value is changed, the resource is recreated. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
174
174
  :param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
175
175
  :param pulumi.Input[str] name: Specifies the identifier for the masking policy; must be unique for the database and schema in which the masking policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
176
176
  :param pulumi.Input[str] return_data_type: The return data type must match the input data type of the first column that is specified as an input column. For more information about data types, check [Snowflake docs](https://docs.snowflake.com/en/sql-reference/intro-summary-data-types).
@@ -264,7 +264,7 @@ class _MaskingPolicyState:
264
264
  @pulumi.getter(name="exemptOtherPolicies")
265
265
  def exempt_other_policies(self) -> Optional[pulumi.Input[str]]:
266
266
  """
267
- Specifies whether the row access policy or conditional masking policy can reference a column that is already protected by a masking policy. Due to Snowflake limitations, when value is chenged, the resource is recreated. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
267
+ Specifies whether the row access policy or conditional masking policy can reference a column that is already protected by a masking policy. Due to Snowflake limitations, when value is changed, the resource is recreated. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
268
268
  """
269
269
  return pulumi.get(self, "exempt_other_policies")
270
270
 
@@ -360,7 +360,7 @@ class MaskingPolicy(pulumi.CustomResource):
360
360
  :param pulumi.Input[str] body: Specifies the SQL expression that transforms the data. To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
361
361
  :param pulumi.Input[str] comment: Specifies a comment for the masking policy.
362
362
  :param pulumi.Input[str] database: The database in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
363
- :param pulumi.Input[str] exempt_other_policies: Specifies whether the row access policy or conditional masking policy can reference a column that is already protected by a masking policy. Due to Snowflake limitations, when value is chenged, the resource is recreated. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
363
+ :param pulumi.Input[str] exempt_other_policies: Specifies whether the row access policy or conditional masking policy can reference a column that is already protected by a masking policy. Due to Snowflake limitations, when value is changed, the resource is recreated. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
364
364
  :param pulumi.Input[str] name: Specifies the identifier for the masking policy; must be unique for the database and schema in which the masking policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
365
365
  :param pulumi.Input[str] return_data_type: The return data type must match the input data type of the first column that is specified as an input column. For more information about data types, check [Snowflake docs](https://docs.snowflake.com/en/sql-reference/intro-summary-data-types).
366
366
  :param pulumi.Input[str] schema: The schema in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
@@ -464,7 +464,7 @@ class MaskingPolicy(pulumi.CustomResource):
464
464
  :param pulumi.Input[str] comment: Specifies a comment for the masking policy.
465
465
  :param pulumi.Input[str] database: The database in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
466
466
  :param pulumi.Input[Sequence[pulumi.Input[Union['MaskingPolicyDescribeOutputArgs', 'MaskingPolicyDescribeOutputArgsDict']]]] describe_outputs: Outputs the result of `DESCRIBE MASKING POLICY` for the given masking policy.
467
- :param pulumi.Input[str] exempt_other_policies: Specifies whether the row access policy or conditional masking policy can reference a column that is already protected by a masking policy. Due to Snowflake limitations, when value is chenged, the resource is recreated. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
467
+ :param pulumi.Input[str] exempt_other_policies: Specifies whether the row access policy or conditional masking policy can reference a column that is already protected by a masking policy. Due to Snowflake limitations, when value is changed, the resource is recreated. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
468
468
  :param pulumi.Input[str] fully_qualified_name: Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
469
469
  :param pulumi.Input[str] name: Specifies the identifier for the masking policy; must be unique for the database and schema in which the masking policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
470
470
  :param pulumi.Input[str] return_data_type: The return data type must match the input data type of the first column that is specified as an input column. For more information about data types, check [Snowflake docs](https://docs.snowflake.com/en/sql-reference/intro-summary-data-types).
@@ -532,7 +532,7 @@ class MaskingPolicy(pulumi.CustomResource):
532
532
  @pulumi.getter(name="exemptOtherPolicies")
533
533
  def exempt_other_policies(self) -> pulumi.Output[Optional[str]]:
534
534
  """
535
- Specifies whether the row access policy or conditional masking policy can reference a column that is already protected by a masking policy. Due to Snowflake limitations, when value is chenged, the resource is recreated. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
535
+ Specifies whether the row access policy or conditional masking policy can reference a column that is already protected by a masking policy. Due to Snowflake limitations, when value is changed, the resource is recreated. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
536
536
  """
537
537
  return pulumi.get(self, "exempt_other_policies")
538
538
 
@@ -38,6 +38,7 @@ class OauthIntegrationForPartnerApplicationsArgs:
38
38
  :param pulumi.Input[str] enabled: Specifies whether this OAuth integration is enabled or disabled. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
39
39
  :param pulumi.Input[str] name: Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
40
40
  :param pulumi.Input[str] oauth_issue_refresh_tokens: Specifies whether to allow the client to exchange a refresh token for an access token when the current access token has expired. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
41
+ :param pulumi.Input[str] oauth_redirect_uri: Specifies the client URI. After a user is authenticated, the web browser is redirected to this URI. The field should be only set when OAUTH_CLIENT = LOOKER. In any other case the field should be left out empty.
41
42
  :param pulumi.Input[int] oauth_refresh_token_validity: Specifies how long refresh tokens should be valid (in seconds). OAUTH*ISSUE*REFRESH_TOKENS must be set to TRUE.
42
43
  :param pulumi.Input[str] oauth_use_secondary_roles: Specifies whether default secondary roles set in the user properties are activated by default in the session being opened. Valid options are: `IMPLICIT` | `NONE`.
43
44
  """
@@ -134,6 +135,9 @@ class OauthIntegrationForPartnerApplicationsArgs:
134
135
  @property
135
136
  @pulumi.getter(name="oauthRedirectUri")
136
137
  def oauth_redirect_uri(self) -> Optional[pulumi.Input[str]]:
138
+ """
139
+ Specifies the client URI. After a user is authenticated, the web browser is redirected to this URI. The field should be only set when OAUTH_CLIENT = LOOKER. In any other case the field should be left out empty.
140
+ """
137
141
  return pulumi.get(self, "oauth_redirect_uri")
138
142
 
139
143
  @oauth_redirect_uri.setter
@@ -191,6 +195,7 @@ class _OauthIntegrationForPartnerApplicationsState:
191
195
  :param pulumi.Input[str] name: Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
192
196
  :param pulumi.Input[str] oauth_client: Creates an OAuth interface between Snowflake and a partner application. Valid options are: `LOOKER` | `TABLEAU_DESKTOP` | `TABLEAU_SERVER`.
193
197
  :param pulumi.Input[str] oauth_issue_refresh_tokens: Specifies whether to allow the client to exchange a refresh token for an access token when the current access token has expired. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
198
+ :param pulumi.Input[str] oauth_redirect_uri: Specifies the client URI. After a user is authenticated, the web browser is redirected to this URI. The field should be only set when OAUTH_CLIENT = LOOKER. In any other case the field should be left out empty.
194
199
  :param pulumi.Input[int] oauth_refresh_token_validity: Specifies how long refresh tokens should be valid (in seconds). OAUTH*ISSUE*REFRESH_TOKENS must be set to TRUE.
195
200
  :param pulumi.Input[str] oauth_use_secondary_roles: Specifies whether default secondary roles set in the user properties are activated by default in the session being opened. Valid options are: `IMPLICIT` | `NONE`.
196
201
  :param pulumi.Input[Sequence[pulumi.Input['OauthIntegrationForPartnerApplicationsRelatedParameterArgs']]] related_parameters: Parameters related to this security integration.
@@ -322,6 +327,9 @@ class _OauthIntegrationForPartnerApplicationsState:
322
327
  @property
323
328
  @pulumi.getter(name="oauthRedirectUri")
324
329
  def oauth_redirect_uri(self) -> Optional[pulumi.Input[str]]:
330
+ """
331
+ Specifies the client URI. After a user is authenticated, the web browser is redirected to this URI. The field should be only set when OAUTH_CLIENT = LOOKER. In any other case the field should be left out empty.
332
+ """
325
333
  return pulumi.get(self, "oauth_redirect_uri")
326
334
 
327
335
  @oauth_redirect_uri.setter
@@ -407,6 +415,7 @@ class OauthIntegrationForPartnerApplications(pulumi.CustomResource):
407
415
  :param pulumi.Input[str] name: Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
408
416
  :param pulumi.Input[str] oauth_client: Creates an OAuth interface between Snowflake and a partner application. Valid options are: `LOOKER` | `TABLEAU_DESKTOP` | `TABLEAU_SERVER`.
409
417
  :param pulumi.Input[str] oauth_issue_refresh_tokens: Specifies whether to allow the client to exchange a refresh token for an access token when the current access token has expired. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
418
+ :param pulumi.Input[str] oauth_redirect_uri: Specifies the client URI. After a user is authenticated, the web browser is redirected to this URI. The field should be only set when OAUTH_CLIENT = LOOKER. In any other case the field should be left out empty.
410
419
  :param pulumi.Input[int] oauth_refresh_token_validity: Specifies how long refresh tokens should be valid (in seconds). OAUTH*ISSUE*REFRESH_TOKENS must be set to TRUE.
411
420
  :param pulumi.Input[str] oauth_use_secondary_roles: Specifies whether default secondary roles set in the user properties are activated by default in the session being opened. Valid options are: `IMPLICIT` | `NONE`.
412
421
  """
@@ -509,6 +518,7 @@ class OauthIntegrationForPartnerApplications(pulumi.CustomResource):
509
518
  :param pulumi.Input[str] name: Specifies the name of the OAuth integration. This name follows the rules for Object Identifiers. The name should be unique among security integrations in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
510
519
  :param pulumi.Input[str] oauth_client: Creates an OAuth interface between Snowflake and a partner application. Valid options are: `LOOKER` | `TABLEAU_DESKTOP` | `TABLEAU_SERVER`.
511
520
  :param pulumi.Input[str] oauth_issue_refresh_tokens: Specifies whether to allow the client to exchange a refresh token for an access token when the current access token has expired. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
521
+ :param pulumi.Input[str] oauth_redirect_uri: Specifies the client URI. After a user is authenticated, the web browser is redirected to this URI. The field should be only set when OAUTH_CLIENT = LOOKER. In any other case the field should be left out empty.
512
522
  :param pulumi.Input[int] oauth_refresh_token_validity: Specifies how long refresh tokens should be valid (in seconds). OAUTH*ISSUE*REFRESH_TOKENS must be set to TRUE.
513
523
  :param pulumi.Input[str] oauth_use_secondary_roles: Specifies whether default secondary roles set in the user properties are activated by default in the session being opened. Valid options are: `IMPLICIT` | `NONE`.
514
524
  :param pulumi.Input[Sequence[pulumi.Input[Union['OauthIntegrationForPartnerApplicationsRelatedParameterArgs', 'OauthIntegrationForPartnerApplicationsRelatedParameterArgsDict']]]] related_parameters: Parameters related to this security integration.
@@ -600,6 +610,9 @@ class OauthIntegrationForPartnerApplications(pulumi.CustomResource):
600
610
  @property
601
611
  @pulumi.getter(name="oauthRedirectUri")
602
612
  def oauth_redirect_uri(self) -> pulumi.Output[Optional[str]]:
613
+ """
614
+ Specifies the client URI. After a user is authenticated, the web browser is redirected to this URI. The field should be only set when OAUTH_CLIENT = LOOKER. In any other case the field should be left out empty.
615
+ """
603
616
  return pulumi.get(self, "oauth_redirect_uri")
604
617
 
605
618
  @property
@@ -54,6 +54,7 @@ class ProviderArgs:
54
54
  protocol: Optional[pulumi.Input[str]] = None,
55
55
  request_timeout: Optional[pulumi.Input[int]] = None,
56
56
  role: Optional[pulumi.Input[str]] = None,
57
+ skip_toml_file_permission_verification: Optional[pulumi.Input[bool]] = None,
57
58
  tmp_directory_path: Optional[pulumi.Input[str]] = None,
58
59
  token: Optional[pulumi.Input[str]] = None,
59
60
  token_accessor: Optional[pulumi.Input['ProviderTokenAccessorArgs']] = None,
@@ -130,6 +131,10 @@ class ProviderArgs:
130
131
  `SNOWFLAKE_REQUEST_TIMEOUT` environment variable.
131
132
  :param pulumi.Input[str] role: Specifies the role to use by default for accessing Snowflake objects in the client session. Can also be sourced from the
132
133
  `SNOWFLAKE_ROLE` environment variable.
134
+ :param pulumi.Input[bool] skip_toml_file_permission_verification: True by default. Skips TOML configuration file permission verification. This flag has no effect on Windows systems, as
135
+ the permissions are not checked on this platform. We recommend setting this to `false` and setting the proper privileges
136
+ - see the section below. Can also be sourced from the `SNOWFLAKE_SKIP_TOML_FILE_PERMISSION_VERIFICATION` environment
137
+ variable.
133
138
  :param pulumi.Input[str] tmp_directory_path: Sets temporary directory used by the driver for operations like encrypting, compressing etc. Can also be sourced from
134
139
  the `SNOWFLAKE_TMP_DIRECTORY_PATH` environment variable.
135
140
  :param pulumi.Input[str] token: Token to use for OAuth and other forms of token based auth. Can also be sourced from the `SNOWFLAKE_TOKEN` environment
@@ -220,6 +225,8 @@ class ProviderArgs:
220
225
  role = _utilities.get_env('SNOWFLAKE_ROLE')
221
226
  if role is not None:
222
227
  pulumi.set(__self__, "role", role)
228
+ if skip_toml_file_permission_verification is not None:
229
+ pulumi.set(__self__, "skip_toml_file_permission_verification", skip_toml_file_permission_verification)
223
230
  if tmp_directory_path is not None:
224
231
  pulumi.set(__self__, "tmp_directory_path", tmp_directory_path)
225
232
  if token is not None:
@@ -675,6 +682,21 @@ class ProviderArgs:
675
682
  def role(self, value: Optional[pulumi.Input[str]]):
676
683
  pulumi.set(self, "role", value)
677
684
 
685
+ @property
686
+ @pulumi.getter(name="skipTomlFilePermissionVerification")
687
+ def skip_toml_file_permission_verification(self) -> Optional[pulumi.Input[bool]]:
688
+ """
689
+ True by default. Skips TOML configuration file permission verification. This flag has no effect on Windows systems, as
690
+ the permissions are not checked on this platform. We recommend setting this to `false` and setting the proper privileges
691
+ - see the section below. Can also be sourced from the `SNOWFLAKE_SKIP_TOML_FILE_PERMISSION_VERIFICATION` environment
692
+ variable.
693
+ """
694
+ return pulumi.get(self, "skip_toml_file_permission_verification")
695
+
696
+ @skip_toml_file_permission_verification.setter
697
+ def skip_toml_file_permission_verification(self, value: Optional[pulumi.Input[bool]]):
698
+ pulumi.set(self, "skip_toml_file_permission_verification", value)
699
+
678
700
  @property
679
701
  @pulumi.getter(name="tmpDirectoryPath")
680
702
  def tmp_directory_path(self) -> Optional[pulumi.Input[str]]:
@@ -788,6 +810,7 @@ class Provider(pulumi.ProviderResource):
788
810
  protocol: Optional[pulumi.Input[str]] = None,
789
811
  request_timeout: Optional[pulumi.Input[int]] = None,
790
812
  role: Optional[pulumi.Input[str]] = None,
813
+ skip_toml_file_permission_verification: Optional[pulumi.Input[bool]] = None,
791
814
  tmp_directory_path: Optional[pulumi.Input[str]] = None,
792
815
  token: Optional[pulumi.Input[str]] = None,
793
816
  token_accessor: Optional[pulumi.Input[Union['ProviderTokenAccessorArgs', 'ProviderTokenAccessorArgsDict']]] = None,
@@ -871,6 +894,10 @@ class Provider(pulumi.ProviderResource):
871
894
  `SNOWFLAKE_REQUEST_TIMEOUT` environment variable.
872
895
  :param pulumi.Input[str] role: Specifies the role to use by default for accessing Snowflake objects in the client session. Can also be sourced from the
873
896
  `SNOWFLAKE_ROLE` environment variable.
897
+ :param pulumi.Input[bool] skip_toml_file_permission_verification: True by default. Skips TOML configuration file permission verification. This flag has no effect on Windows systems, as
898
+ the permissions are not checked on this platform. We recommend setting this to `false` and setting the proper privileges
899
+ - see the section below. Can also be sourced from the `SNOWFLAKE_SKIP_TOML_FILE_PERMISSION_VERIFICATION` environment
900
+ variable.
874
901
  :param pulumi.Input[str] tmp_directory_path: Sets temporary directory used by the driver for operations like encrypting, compressing etc. Can also be sourced from
875
902
  the `SNOWFLAKE_TMP_DIRECTORY_PATH` environment variable.
876
903
  :param pulumi.Input[str] token: Token to use for OAuth and other forms of token based auth. Can also be sourced from the `SNOWFLAKE_TOKEN` environment
@@ -942,6 +969,7 @@ class Provider(pulumi.ProviderResource):
942
969
  protocol: Optional[pulumi.Input[str]] = None,
943
970
  request_timeout: Optional[pulumi.Input[int]] = None,
944
971
  role: Optional[pulumi.Input[str]] = None,
972
+ skip_toml_file_permission_verification: Optional[pulumi.Input[bool]] = None,
945
973
  tmp_directory_path: Optional[pulumi.Input[str]] = None,
946
974
  token: Optional[pulumi.Input[str]] = None,
947
975
  token_accessor: Optional[pulumi.Input[Union['ProviderTokenAccessorArgs', 'ProviderTokenAccessorArgsDict']]] = None,
@@ -1003,6 +1031,7 @@ class Provider(pulumi.ProviderResource):
1003
1031
  if role is None:
1004
1032
  role = _utilities.get_env('SNOWFLAKE_ROLE')
1005
1033
  __props__.__dict__["role"] = role
1034
+ __props__.__dict__["skip_toml_file_permission_verification"] = pulumi.Output.from_input(skip_toml_file_permission_verification).apply(pulumi.runtime.to_json) if skip_toml_file_permission_verification is not None else None
1006
1035
  __props__.__dict__["tmp_directory_path"] = tmp_directory_path
1007
1036
  __props__.__dict__["token"] = None if token is None else pulumi.Output.secret(token)
1008
1037
  __props__.__dict__["token_accessor"] = pulumi.Output.from_input(token_accessor).apply(pulumi.runtime.to_json) if token_accessor is not None else None
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "snowflake",
4
- "version": "1.2.0-alpha.1742884666"
4
+ "version": "1.2.0-alpha.1743057304"
5
5
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pulumi_snowflake
3
- Version: 1.2.0a1742884666
3
+ Version: 1.2.0a1743057304
4
4
  Summary: A Pulumi package for creating and managing snowflake cloud resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io
@@ -71,7 +71,7 @@ pulumi_snowflake/get_system_get_snowflake_platform_info.py,sha256=fiPHCJrC_KH67_
71
71
  pulumi_snowflake/get_tables.py,sha256=xUlPlMQKhFMF7PHDWcf1GP9anakktIMaQt1gT8Yy-uw,5958
72
72
  pulumi_snowflake/get_tags.py,sha256=uZZlMMF8n2YsUsZMIVNqmfvOpPeVf3D-55G4CSZS474,5169
73
73
  pulumi_snowflake/get_tasks.py,sha256=4PT7JEWBlLcBmbmK6YCFeDifILlN_3DLso0KmXMZndw,10642
74
- pulumi_snowflake/get_users.py,sha256=ueHukrWJjyKmace5klJenJXXlh1DQ1eFXebrCkwijJs,10713
74
+ pulumi_snowflake/get_users.py,sha256=mgkxinJRuiY5tTJzM87hffinMnhYGh_KamuCDENw5J0,10821
75
75
  pulumi_snowflake/get_views.py,sha256=X6o3swmn-fTqbu3iBok6_DdvKlrzHdMwAkfjgzdKK3I,9572
76
76
  pulumi_snowflake/get_warehouses.py,sha256=h6PlO3jSKsxFncG6q_AlUH7iK6QigNajteJI_GKZeXU,7449
77
77
  pulumi_snowflake/grant_account_role.py,sha256=yFDdClOq_OUjyVVpHBG2fRCn05KpjwUm0yJ55BraFf4,12454
@@ -83,14 +83,14 @@ pulumi_snowflake/grant_privileges_to_database_role.py,sha256=uApEQrIoS7DDvUWdX0n
83
83
  pulumi_snowflake/grant_privileges_to_share.py,sha256=tBpOWq90WXtdBqKSVsE5EPHokEtkfKyfYEqGkjKN2cE,27253
84
84
  pulumi_snowflake/legacy_service_user.py,sha256=9qdyLmy_bJEiFCbDbqWuVHpTwdXbhPa7vcrtW-dB0sQ,327851
85
85
  pulumi_snowflake/managed_account.py,sha256=kIqqXm5nYCw-AgaXM1jhEL4wUQVfadzYoc4m3VaEPb4,22352
86
- pulumi_snowflake/masking_policy.py,sha256=71WkO_Zx4ZKouKMwAl8MKZZPQ2PqFQ8iE4SLfteKcOg,35450
86
+ pulumi_snowflake/masking_policy.py,sha256=v5-c3F79EjRftcYXTboKLQKJnGy18CIpHHzo0Yp5PuU,35450
87
87
  pulumi_snowflake/materialized_view.py,sha256=y1TFBXlXVVMBeSIcgileuptX3oX9VgS-hfkCCellnPE,24500
88
88
  pulumi_snowflake/network_policy.py,sha256=tp2bp1qOVgeRdp9u-C8shRyO13e33S7Ht5OuRkvz7mI,28375
89
89
  pulumi_snowflake/network_policy_attachment.py,sha256=4JQY3WsgKwIC_9k9izZX60In-dniPmu0P6N7WAe2fbg,15364
90
90
  pulumi_snowflake/network_rule.py,sha256=bvyfGis-UjvH2oMMP-96k_ABWTU9Jd7AB_Mm81nPN-A,23929
91
91
  pulumi_snowflake/notification_integration.py,sha256=onf6ayHu0Ns6Ibmlr7BoQ__2Clc-EMnSIAXokecVgbs,49366
92
92
  pulumi_snowflake/oauth_integration_for_custom_clients.py,sha256=PfcfyEQ3a14XogTHLZQnrJPjI2Vx1PnFoPc9xztOQqE,60637
93
- pulumi_snowflake/oauth_integration_for_partner_applications.py,sha256=lGn_Xt9sbNIZW2XqFlcIcZYkBSpAmY6vjyp-rMqAMOs,40523
93
+ pulumi_snowflake/oauth_integration_for_partner_applications.py,sha256=QABxjd0Q_Ph1y_GhNcKFoXw-xdAsqOoEFsRmMTNsnhw,42308
94
94
  pulumi_snowflake/object_parameter.py,sha256=7KvwoqZ8ArzRYwqhPH-YPOew_rcmVZy_mLETXRtKwAw,18695
95
95
  pulumi_snowflake/outputs.py,sha256=EIhp93Kce9dE6v97lwE8G0KWKlKI6QVSbh8TmBaKTlU,1790235
96
96
  pulumi_snowflake/password_policy.py,sha256=by7_qGV04LBJ1bGs2D2MQMXwtjYSZ67T-LGBVgulAL8,55873
@@ -101,8 +101,8 @@ pulumi_snowflake/procedure_javascript.py,sha256=_J-0ynmgH1kU3IwSiBl3_9l_pm5TThml
101
101
  pulumi_snowflake/procedure_python.py,sha256=YRLEHDcXBuLQAIwk8PqX_Aobl_vBKqqe2xyTO-Myq4w,98954
102
102
  pulumi_snowflake/procedure_scala.py,sha256=0e8meEAnjrG3fqIBbINAYz6ikeHpOSplFdZDLPlVAY4,102967
103
103
  pulumi_snowflake/procedure_sql.py,sha256=bwwBZYcQaWertwaGim0HXP1Ijyz-iNPP0GAe2_FRmQ8,64616
104
- pulumi_snowflake/provider.py,sha256=jgRrnazyy0J5ns5j1CvKmqK0eaDYLhrfQ860PrfNQ3Q,71455
105
- pulumi_snowflake/pulumi-plugin.json,sha256=BoGfPlPFkSeF3qmBA4VOpGBqmHWyeEeED3-ZUwkJh8E,85
104
+ pulumi_snowflake/provider.py,sha256=vTWpqLgrnV7wwMEKbnURqzpf4guQLFQxvkii9JGhIPo,73998
105
+ pulumi_snowflake/pulumi-plugin.json,sha256=OJ1TyKi1lXX_TVBUtwRmhc4vPc_TWxzbeD_rZYU9IKs,85
106
106
  pulumi_snowflake/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
107
107
  pulumi_snowflake/resource_monitor.py,sha256=WOENtMQ4hC9sy8GVvPVNOkW0DBLwkHKdo8QqqV7K_30,42324
108
108
  pulumi_snowflake/row_access_policy.py,sha256=Zn6f9xH9Z6peuvNcYfuJgDVL_kbqqPJYWF9Sxk9WAEc,27906
@@ -139,10 +139,10 @@ pulumi_snowflake/user_public_keys.py,sha256=hsyt78EP4kHs5SK7rLCPsWIHXI64N0D-KUdG
139
139
  pulumi_snowflake/view.py,sha256=OeqQggZ7hdCzewSJ5XIKhKrAF4bhTKEN1yzKOSR4dM8,49340
140
140
  pulumi_snowflake/warehouse.py,sha256=nmfQ7k51Y9bWYczoyXMFw0zjk_5l0TvpwEQLLuoxjv0,58846
141
141
  pulumi_snowflake/config/__init__.py,sha256=cfY0smRZD3fDVc93ZIAxEl_IM2pynmXB52n3Ahzi030,285
142
- pulumi_snowflake/config/__init__.pyi,sha256=rzWT7strp9IsYZrVUFf78R-nNROcNhAM3WKBW1OPG7Q,8865
142
+ pulumi_snowflake/config/__init__.pyi,sha256=FXnUYs84wNBLYoDC8bEy6Y8JFI9vaNouLQhD81wPys0,9292
143
143
  pulumi_snowflake/config/outputs.py,sha256=iAJ-lzy_gkkdNr_znbdiKbAphOhXY3G9NGJHcHMk8rU,4041
144
- pulumi_snowflake/config/vars.py,sha256=UMbFbB_4MJQ-8zMgJi9lNNIzZqtYakj4ZSAE3uqZh6E,13740
145
- pulumi_snowflake-1.2.0a1742884666.dist-info/METADATA,sha256=mZazxXzKdMLnIdPjVFIOxIO6L7kw8TmzEKrIPMB75co,5043
146
- pulumi_snowflake-1.2.0a1742884666.dist-info/WHEEL,sha256=DK49LOLCYiurdXXOXwGJm6U4DkHkg4lcxjhqwRa0CP4,91
147
- pulumi_snowflake-1.2.0a1742884666.dist-info/top_level.txt,sha256=g3Beva1lYynlCe8hPZIQgjAlBgsI_1k3yHm8t4KhUN4,17
148
- pulumi_snowflake-1.2.0a1742884666.dist-info/RECORD,,
144
+ pulumi_snowflake/config/vars.py,sha256=3eCGt5OM-EyiW_OUirKhnKNsqyxPoaVJbX-iOd2vGt0,14323
145
+ pulumi_snowflake-1.2.0a1743057304.dist-info/METADATA,sha256=IeSOR_3AcUOJJV4e6z449WWY5QSczSjCDefZ3oGozzg,5043
146
+ pulumi_snowflake-1.2.0a1743057304.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
147
+ pulumi_snowflake-1.2.0a1743057304.dist-info/top_level.txt,sha256=g3Beva1lYynlCe8hPZIQgjAlBgsI_1k3yHm8t4KhUN4,17
148
+ pulumi_snowflake-1.2.0a1743057304.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (78.0.2)
2
+ Generator: setuptools (78.1.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5