pulumi-snowflake 2.9.0a1761589382__py3-none-any.whl → 2.9.0a1761968339__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.
Potentially problematic release.
This version of pulumi-snowflake might be problematic. Click here for more details.
- pulumi_snowflake/__init__.py +1 -0
- pulumi_snowflake/_inputs.py +482 -1
- pulumi_snowflake/authentication_policy.py +172 -31
- pulumi_snowflake/compute_pool.py +7 -7
- pulumi_snowflake/config/__init__.pyi +16 -1
- pulumi_snowflake/config/vars.py +22 -1
- pulumi_snowflake/get_authentication_policies.py +214 -0
- pulumi_snowflake/get_compute_pools.py +0 -4
- pulumi_snowflake/get_git_repositories.py +0 -4
- pulumi_snowflake/get_image_repositories.py +0 -4
- pulumi_snowflake/get_services.py +0 -4
- pulumi_snowflake/get_user_programmatic_access_tokens.py +0 -4
- pulumi_snowflake/get_warehouses.py +4 -0
- pulumi_snowflake/outputs.py +539 -1
- pulumi_snowflake/provider.py +81 -5
- pulumi_snowflake/pulumi-plugin.json +1 -1
- {pulumi_snowflake-2.9.0a1761589382.dist-info → pulumi_snowflake-2.9.0a1761968339.dist-info}/METADATA +1 -1
- {pulumi_snowflake-2.9.0a1761589382.dist-info → pulumi_snowflake-2.9.0a1761968339.dist-info}/RECORD +20 -19
- {pulumi_snowflake-2.9.0a1761589382.dist-info → pulumi_snowflake-2.9.0a1761968339.dist-info}/WHEEL +0 -0
- {pulumi_snowflake-2.9.0a1761589382.dist-info → pulumi_snowflake-2.9.0a1761968339.dist-info}/top_level.txt +0 -0
pulumi_snowflake/provider.py
CHANGED
|
@@ -31,6 +31,7 @@ class ProviderArgs:
|
|
|
31
31
|
disable_telemetry: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
32
32
|
driver_tracing: Optional[pulumi.Input[_builtins.str]] = None,
|
|
33
33
|
enable_single_use_refresh_tokens: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
34
|
+
experimental_features_enableds: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
34
35
|
external_browser_timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
|
35
36
|
host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
36
37
|
include_retry_reason: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -68,11 +69,13 @@ class ProviderArgs:
|
|
|
68
69
|
use_legacy_toml_file: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
69
70
|
user: Optional[pulumi.Input[_builtins.str]] = None,
|
|
70
71
|
validate_default_parameters: Optional[pulumi.Input[_builtins.str]] = None,
|
|
71
|
-
warehouse: Optional[pulumi.Input[_builtins.str]] = None
|
|
72
|
+
warehouse: Optional[pulumi.Input[_builtins.str]] = None,
|
|
73
|
+
workload_identity_entra_resource: Optional[pulumi.Input[_builtins.str]] = None,
|
|
74
|
+
workload_identity_provider: Optional[pulumi.Input[_builtins.str]] = None):
|
|
72
75
|
"""
|
|
73
76
|
The set of arguments for constructing a Provider resource.
|
|
74
77
|
:param pulumi.Input[_builtins.str] account_name: Specifies your Snowflake account name assigned by Snowflake. For information about account identifiers, see the [Snowflake documentation](https://docs.snowflake.com/en/user-guide/admin-account-identifier#account-name). Required unless using `profile`. Can also be sourced from the `SNOWFLAKE_ACCOUNT_NAME` environment variable.
|
|
75
|
-
:param pulumi.Input[_builtins.str] authenticator: Specifies the [authentication type](https://pkg.go.dev/github.com/snowflakedb/gosnowflake#AuthType) to use when connecting to Snowflake. Valid options are: `SNOWFLAKE` | `OAUTH` | `EXTERNALBROWSER` | `OKTA` | `SNOWFLAKE_JWT` | `TOKENACCESSOR` | `USERNAMEPASSWORDMFA` | `PROGRAMMATIC_ACCESS_TOKEN` | `OAUTH_CLIENT_CREDENTIALS` | `OAUTH_AUTHORIZATION_CODE`. Can also be sourced from the `SNOWFLAKE_AUTHENTICATOR` environment variable.
|
|
78
|
+
:param pulumi.Input[_builtins.str] authenticator: Specifies the [authentication type](https://pkg.go.dev/github.com/snowflakedb/gosnowflake#AuthType) to use when connecting to Snowflake. Valid options are: `SNOWFLAKE` | `OAUTH` | `EXTERNALBROWSER` | `OKTA` | `SNOWFLAKE_JWT` | `TOKENACCESSOR` | `USERNAMEPASSWORDMFA` | `PROGRAMMATIC_ACCESS_TOKEN` | `OAUTH_CLIENT_CREDENTIALS` | `OAUTH_AUTHORIZATION_CODE` | `WORKLOAD_IDENTITY`. Can also be sourced from the `SNOWFLAKE_AUTHENTICATOR` environment variable.
|
|
76
79
|
:param pulumi.Input[_builtins.str] client_ip: IP address for network checks. Can also be sourced from the `SNOWFLAKE_CLIENT_IP` environment variable.
|
|
77
80
|
:param pulumi.Input[_builtins.str] client_request_mfa_token: When true the MFA token is cached in the credential manager. True by default in Windows/OSX. False for Linux. Can also be sourced from the `SNOWFLAKE_CLIENT_REQUEST_MFA_TOKEN` environment variable.
|
|
78
81
|
:param pulumi.Input[_builtins.str] client_store_temporary_credential: When true the ID token is cached in the credential manager. True by default in Windows/OSX. False for Linux. Can also be sourced from the `SNOWFLAKE_CLIENT_STORE_TEMPORARY_CREDENTIAL` environment variable.
|
|
@@ -82,6 +85,7 @@ class ProviderArgs:
|
|
|
82
85
|
:param pulumi.Input[_builtins.bool] disable_telemetry: Disables telemetry in the driver. Can also be sourced from the `DISABLE_TELEMETRY` environment variable.
|
|
83
86
|
:param pulumi.Input[_builtins.str] driver_tracing: Specifies the logging level to be used by the driver. Valid options are: `trace` | `debug` | `info` | `print` | `warning` | `error` | `fatal` | `panic`. Can also be sourced from the `SNOWFLAKE_DRIVER_TRACING` environment variable.
|
|
84
87
|
:param pulumi.Input[_builtins.bool] enable_single_use_refresh_tokens: Enables single use refresh tokens for Snowflake IdP. Can also be sourced from the `SNOWFLAKE_ENABLE_SINGLE_USE_REFRESH_TOKENS` environment variable.
|
|
88
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] experimental_features_enableds: A list of experimental features. Similarly to preview features, they are not yet stable features of the provider. Enabling given experiment is still considered a preview feature, even when applied to the stable resource. These switches offer experiments altering the provider behavior. If the given experiment is successful, it can be considered an addition in the future provider versions. This field can not be set with environmental variables. Valid options are: `WAREHOUSE_SHOW_IMPROVED_PERFORMANCE`.
|
|
85
89
|
:param pulumi.Input[_builtins.int] external_browser_timeout: The timeout in seconds for the external browser to complete the authentication. Can also be sourced from the `SNOWFLAKE_EXTERNAL_BROWSER_TIMEOUT` environment variable.
|
|
86
90
|
:param pulumi.Input[_builtins.str] host: Specifies a custom host value used by the driver for privatelink connections. Can also be sourced from the `SNOWFLAKE_HOST` environment variable.
|
|
87
91
|
:param pulumi.Input[_builtins.str] include_retry_reason: Should retried request contain retry reason. Can also be sourced from the `SNOWFLAKE_INCLUDE_RETRY_REASON` environment variable.
|
|
@@ -119,6 +123,8 @@ class ProviderArgs:
|
|
|
119
123
|
:param pulumi.Input[_builtins.str] user: Username. Required unless using `profile`. Can also be sourced from the `SNOWFLAKE_USER` environment variable.
|
|
120
124
|
:param pulumi.Input[_builtins.str] validate_default_parameters: True by default. If false, disables the validation checks for Database, Schema, Warehouse and Role at the time a connection is established. Can also be sourced from the `SNOWFLAKE_VALIDATE_DEFAULT_PARAMETERS` environment variable.
|
|
121
125
|
:param pulumi.Input[_builtins.str] warehouse: Specifies the virtual warehouse to use by default for queries, loading, etc. in the client session. Can also be sourced from the `SNOWFLAKE_WAREHOUSE` environment variable.
|
|
126
|
+
:param pulumi.Input[_builtins.str] workload_identity_entra_resource: The resource to use for WIF authentication on Azure environment. Can also be sourced from the `SNOWFLAKE_WORKLOAD_IDENTITY_ENTRA_RESOURCE` environment variable.
|
|
127
|
+
:param pulumi.Input[_builtins.str] workload_identity_provider: The workload identity provider to use for WIF authentication. Can also be sourced from the `SNOWFLAKE_WORKLOAD_IDENTITY_PROVIDER` environment variable.
|
|
122
128
|
"""
|
|
123
129
|
if account_name is not None:
|
|
124
130
|
pulumi.set(__self__, "account_name", account_name)
|
|
@@ -142,6 +148,8 @@ class ProviderArgs:
|
|
|
142
148
|
pulumi.set(__self__, "driver_tracing", driver_tracing)
|
|
143
149
|
if enable_single_use_refresh_tokens is not None:
|
|
144
150
|
pulumi.set(__self__, "enable_single_use_refresh_tokens", enable_single_use_refresh_tokens)
|
|
151
|
+
if experimental_features_enableds is not None:
|
|
152
|
+
pulumi.set(__self__, "experimental_features_enableds", experimental_features_enableds)
|
|
145
153
|
if external_browser_timeout is not None:
|
|
146
154
|
pulumi.set(__self__, "external_browser_timeout", external_browser_timeout)
|
|
147
155
|
if host is None:
|
|
@@ -232,6 +240,10 @@ class ProviderArgs:
|
|
|
232
240
|
warehouse = _utilities.get_env('SNOWFLAKE_WAREHOUSE')
|
|
233
241
|
if warehouse is not None:
|
|
234
242
|
pulumi.set(__self__, "warehouse", warehouse)
|
|
243
|
+
if workload_identity_entra_resource is not None:
|
|
244
|
+
pulumi.set(__self__, "workload_identity_entra_resource", workload_identity_entra_resource)
|
|
245
|
+
if workload_identity_provider is not None:
|
|
246
|
+
pulumi.set(__self__, "workload_identity_provider", workload_identity_provider)
|
|
235
247
|
|
|
236
248
|
@_builtins.property
|
|
237
249
|
@pulumi.getter(name="accountName")
|
|
@@ -249,7 +261,7 @@ class ProviderArgs:
|
|
|
249
261
|
@pulumi.getter
|
|
250
262
|
def authenticator(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
251
263
|
"""
|
|
252
|
-
Specifies the [authentication type](https://pkg.go.dev/github.com/snowflakedb/gosnowflake#AuthType) to use when connecting to Snowflake. Valid options are: `SNOWFLAKE` | `OAUTH` | `EXTERNALBROWSER` | `OKTA` | `SNOWFLAKE_JWT` | `TOKENACCESSOR` | `USERNAMEPASSWORDMFA` | `PROGRAMMATIC_ACCESS_TOKEN` | `OAUTH_CLIENT_CREDENTIALS` | `OAUTH_AUTHORIZATION_CODE`. Can also be sourced from the `SNOWFLAKE_AUTHENTICATOR` environment variable.
|
|
264
|
+
Specifies the [authentication type](https://pkg.go.dev/github.com/snowflakedb/gosnowflake#AuthType) to use when connecting to Snowflake. Valid options are: `SNOWFLAKE` | `OAUTH` | `EXTERNALBROWSER` | `OKTA` | `SNOWFLAKE_JWT` | `TOKENACCESSOR` | `USERNAMEPASSWORDMFA` | `PROGRAMMATIC_ACCESS_TOKEN` | `OAUTH_CLIENT_CREDENTIALS` | `OAUTH_AUTHORIZATION_CODE` | `WORKLOAD_IDENTITY`. Can also be sourced from the `SNOWFLAKE_AUTHENTICATOR` environment variable.
|
|
253
265
|
"""
|
|
254
266
|
return pulumi.get(self, "authenticator")
|
|
255
267
|
|
|
@@ -365,6 +377,18 @@ class ProviderArgs:
|
|
|
365
377
|
def enable_single_use_refresh_tokens(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
366
378
|
pulumi.set(self, "enable_single_use_refresh_tokens", value)
|
|
367
379
|
|
|
380
|
+
@_builtins.property
|
|
381
|
+
@pulumi.getter(name="experimentalFeaturesEnableds")
|
|
382
|
+
def experimental_features_enableds(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
383
|
+
"""
|
|
384
|
+
A list of experimental features. Similarly to preview features, they are not yet stable features of the provider. Enabling given experiment is still considered a preview feature, even when applied to the stable resource. These switches offer experiments altering the provider behavior. If the given experiment is successful, it can be considered an addition in the future provider versions. This field can not be set with environmental variables. Valid options are: `WAREHOUSE_SHOW_IMPROVED_PERFORMANCE`.
|
|
385
|
+
"""
|
|
386
|
+
return pulumi.get(self, "experimental_features_enableds")
|
|
387
|
+
|
|
388
|
+
@experimental_features_enableds.setter
|
|
389
|
+
def experimental_features_enableds(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
390
|
+
pulumi.set(self, "experimental_features_enableds", value)
|
|
391
|
+
|
|
368
392
|
@_builtins.property
|
|
369
393
|
@pulumi.getter(name="externalBrowserTimeout")
|
|
370
394
|
def external_browser_timeout(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
@@ -818,6 +842,30 @@ class ProviderArgs:
|
|
|
818
842
|
def warehouse(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
819
843
|
pulumi.set(self, "warehouse", value)
|
|
820
844
|
|
|
845
|
+
@_builtins.property
|
|
846
|
+
@pulumi.getter(name="workloadIdentityEntraResource")
|
|
847
|
+
def workload_identity_entra_resource(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
848
|
+
"""
|
|
849
|
+
The resource to use for WIF authentication on Azure environment. Can also be sourced from the `SNOWFLAKE_WORKLOAD_IDENTITY_ENTRA_RESOURCE` environment variable.
|
|
850
|
+
"""
|
|
851
|
+
return pulumi.get(self, "workload_identity_entra_resource")
|
|
852
|
+
|
|
853
|
+
@workload_identity_entra_resource.setter
|
|
854
|
+
def workload_identity_entra_resource(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
855
|
+
pulumi.set(self, "workload_identity_entra_resource", value)
|
|
856
|
+
|
|
857
|
+
@_builtins.property
|
|
858
|
+
@pulumi.getter(name="workloadIdentityProvider")
|
|
859
|
+
def workload_identity_provider(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
860
|
+
"""
|
|
861
|
+
The workload identity provider to use for WIF authentication. Can also be sourced from the `SNOWFLAKE_WORKLOAD_IDENTITY_PROVIDER` environment variable.
|
|
862
|
+
"""
|
|
863
|
+
return pulumi.get(self, "workload_identity_provider")
|
|
864
|
+
|
|
865
|
+
@workload_identity_provider.setter
|
|
866
|
+
def workload_identity_provider(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
867
|
+
pulumi.set(self, "workload_identity_provider", value)
|
|
868
|
+
|
|
821
869
|
|
|
822
870
|
@pulumi.type_token("pulumi:providers:snowflake")
|
|
823
871
|
class Provider(pulumi.ProviderResource):
|
|
@@ -836,6 +884,7 @@ class Provider(pulumi.ProviderResource):
|
|
|
836
884
|
disable_telemetry: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
837
885
|
driver_tracing: Optional[pulumi.Input[_builtins.str]] = None,
|
|
838
886
|
enable_single_use_refresh_tokens: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
887
|
+
experimental_features_enableds: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
839
888
|
external_browser_timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
|
840
889
|
host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
841
890
|
include_retry_reason: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -874,6 +923,8 @@ class Provider(pulumi.ProviderResource):
|
|
|
874
923
|
user: Optional[pulumi.Input[_builtins.str]] = None,
|
|
875
924
|
validate_default_parameters: Optional[pulumi.Input[_builtins.str]] = None,
|
|
876
925
|
warehouse: Optional[pulumi.Input[_builtins.str]] = None,
|
|
926
|
+
workload_identity_entra_resource: Optional[pulumi.Input[_builtins.str]] = None,
|
|
927
|
+
workload_identity_provider: Optional[pulumi.Input[_builtins.str]] = None,
|
|
877
928
|
__props__=None):
|
|
878
929
|
"""
|
|
879
930
|
The provider type for the snowflake package. By default, resources use package-wide configuration
|
|
@@ -884,7 +935,7 @@ class Provider(pulumi.ProviderResource):
|
|
|
884
935
|
:param str resource_name: The name of the resource.
|
|
885
936
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
886
937
|
:param pulumi.Input[_builtins.str] account_name: Specifies your Snowflake account name assigned by Snowflake. For information about account identifiers, see the [Snowflake documentation](https://docs.snowflake.com/en/user-guide/admin-account-identifier#account-name). Required unless using `profile`. Can also be sourced from the `SNOWFLAKE_ACCOUNT_NAME` environment variable.
|
|
887
|
-
:param pulumi.Input[_builtins.str] authenticator: Specifies the [authentication type](https://pkg.go.dev/github.com/snowflakedb/gosnowflake#AuthType) to use when connecting to Snowflake. Valid options are: `SNOWFLAKE` | `OAUTH` | `EXTERNALBROWSER` | `OKTA` | `SNOWFLAKE_JWT` | `TOKENACCESSOR` | `USERNAMEPASSWORDMFA` | `PROGRAMMATIC_ACCESS_TOKEN` | `OAUTH_CLIENT_CREDENTIALS` | `OAUTH_AUTHORIZATION_CODE`. Can also be sourced from the `SNOWFLAKE_AUTHENTICATOR` environment variable.
|
|
938
|
+
:param pulumi.Input[_builtins.str] authenticator: Specifies the [authentication type](https://pkg.go.dev/github.com/snowflakedb/gosnowflake#AuthType) to use when connecting to Snowflake. Valid options are: `SNOWFLAKE` | `OAUTH` | `EXTERNALBROWSER` | `OKTA` | `SNOWFLAKE_JWT` | `TOKENACCESSOR` | `USERNAMEPASSWORDMFA` | `PROGRAMMATIC_ACCESS_TOKEN` | `OAUTH_CLIENT_CREDENTIALS` | `OAUTH_AUTHORIZATION_CODE` | `WORKLOAD_IDENTITY`. Can also be sourced from the `SNOWFLAKE_AUTHENTICATOR` environment variable.
|
|
888
939
|
:param pulumi.Input[_builtins.str] client_ip: IP address for network checks. Can also be sourced from the `SNOWFLAKE_CLIENT_IP` environment variable.
|
|
889
940
|
:param pulumi.Input[_builtins.str] client_request_mfa_token: When true the MFA token is cached in the credential manager. True by default in Windows/OSX. False for Linux. Can also be sourced from the `SNOWFLAKE_CLIENT_REQUEST_MFA_TOKEN` environment variable.
|
|
890
941
|
:param pulumi.Input[_builtins.str] client_store_temporary_credential: When true the ID token is cached in the credential manager. True by default in Windows/OSX. False for Linux. Can also be sourced from the `SNOWFLAKE_CLIENT_STORE_TEMPORARY_CREDENTIAL` environment variable.
|
|
@@ -894,6 +945,7 @@ class Provider(pulumi.ProviderResource):
|
|
|
894
945
|
:param pulumi.Input[_builtins.bool] disable_telemetry: Disables telemetry in the driver. Can also be sourced from the `DISABLE_TELEMETRY` environment variable.
|
|
895
946
|
:param pulumi.Input[_builtins.str] driver_tracing: Specifies the logging level to be used by the driver. Valid options are: `trace` | `debug` | `info` | `print` | `warning` | `error` | `fatal` | `panic`. Can also be sourced from the `SNOWFLAKE_DRIVER_TRACING` environment variable.
|
|
896
947
|
:param pulumi.Input[_builtins.bool] enable_single_use_refresh_tokens: Enables single use refresh tokens for Snowflake IdP. Can also be sourced from the `SNOWFLAKE_ENABLE_SINGLE_USE_REFRESH_TOKENS` environment variable.
|
|
948
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] experimental_features_enableds: A list of experimental features. Similarly to preview features, they are not yet stable features of the provider. Enabling given experiment is still considered a preview feature, even when applied to the stable resource. These switches offer experiments altering the provider behavior. If the given experiment is successful, it can be considered an addition in the future provider versions. This field can not be set with environmental variables. Valid options are: `WAREHOUSE_SHOW_IMPROVED_PERFORMANCE`.
|
|
897
949
|
:param pulumi.Input[_builtins.int] external_browser_timeout: The timeout in seconds for the external browser to complete the authentication. Can also be sourced from the `SNOWFLAKE_EXTERNAL_BROWSER_TIMEOUT` environment variable.
|
|
898
950
|
:param pulumi.Input[_builtins.str] host: Specifies a custom host value used by the driver for privatelink connections. Can also be sourced from the `SNOWFLAKE_HOST` environment variable.
|
|
899
951
|
:param pulumi.Input[_builtins.str] include_retry_reason: Should retried request contain retry reason. Can also be sourced from the `SNOWFLAKE_INCLUDE_RETRY_REASON` environment variable.
|
|
@@ -931,6 +983,8 @@ class Provider(pulumi.ProviderResource):
|
|
|
931
983
|
:param pulumi.Input[_builtins.str] user: Username. Required unless using `profile`. Can also be sourced from the `SNOWFLAKE_USER` environment variable.
|
|
932
984
|
:param pulumi.Input[_builtins.str] validate_default_parameters: True by default. If false, disables the validation checks for Database, Schema, Warehouse and Role at the time a connection is established. Can also be sourced from the `SNOWFLAKE_VALIDATE_DEFAULT_PARAMETERS` environment variable.
|
|
933
985
|
:param pulumi.Input[_builtins.str] warehouse: Specifies the virtual warehouse to use by default for queries, loading, etc. in the client session. Can also be sourced from the `SNOWFLAKE_WAREHOUSE` environment variable.
|
|
986
|
+
:param pulumi.Input[_builtins.str] workload_identity_entra_resource: The resource to use for WIF authentication on Azure environment. Can also be sourced from the `SNOWFLAKE_WORKLOAD_IDENTITY_ENTRA_RESOURCE` environment variable.
|
|
987
|
+
:param pulumi.Input[_builtins.str] workload_identity_provider: The workload identity provider to use for WIF authentication. Can also be sourced from the `SNOWFLAKE_WORKLOAD_IDENTITY_PROVIDER` environment variable.
|
|
934
988
|
"""
|
|
935
989
|
...
|
|
936
990
|
@overload
|
|
@@ -970,6 +1024,7 @@ class Provider(pulumi.ProviderResource):
|
|
|
970
1024
|
disable_telemetry: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
971
1025
|
driver_tracing: Optional[pulumi.Input[_builtins.str]] = None,
|
|
972
1026
|
enable_single_use_refresh_tokens: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1027
|
+
experimental_features_enableds: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
973
1028
|
external_browser_timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
|
974
1029
|
host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
975
1030
|
include_retry_reason: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -1008,6 +1063,8 @@ class Provider(pulumi.ProviderResource):
|
|
|
1008
1063
|
user: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1009
1064
|
validate_default_parameters: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1010
1065
|
warehouse: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1066
|
+
workload_identity_entra_resource: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1067
|
+
workload_identity_provider: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1011
1068
|
__props__=None):
|
|
1012
1069
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
1013
1070
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -1028,6 +1085,7 @@ class Provider(pulumi.ProviderResource):
|
|
|
1028
1085
|
__props__.__dict__["disable_telemetry"] = pulumi.Output.from_input(disable_telemetry).apply(pulumi.runtime.to_json) if disable_telemetry is not None else None
|
|
1029
1086
|
__props__.__dict__["driver_tracing"] = driver_tracing
|
|
1030
1087
|
__props__.__dict__["enable_single_use_refresh_tokens"] = pulumi.Output.from_input(enable_single_use_refresh_tokens).apply(pulumi.runtime.to_json) if enable_single_use_refresh_tokens is not None else None
|
|
1088
|
+
__props__.__dict__["experimental_features_enableds"] = pulumi.Output.from_input(experimental_features_enableds).apply(pulumi.runtime.to_json) if experimental_features_enableds is not None else None
|
|
1031
1089
|
__props__.__dict__["external_browser_timeout"] = pulumi.Output.from_input(external_browser_timeout).apply(pulumi.runtime.to_json) if external_browser_timeout is not None else None
|
|
1032
1090
|
if host is None:
|
|
1033
1091
|
host = _utilities.get_env('SNOWFLAKE_HOST')
|
|
@@ -1080,6 +1138,8 @@ class Provider(pulumi.ProviderResource):
|
|
|
1080
1138
|
if warehouse is None:
|
|
1081
1139
|
warehouse = _utilities.get_env('SNOWFLAKE_WAREHOUSE')
|
|
1082
1140
|
__props__.__dict__["warehouse"] = warehouse
|
|
1141
|
+
__props__.__dict__["workload_identity_entra_resource"] = workload_identity_entra_resource
|
|
1142
|
+
__props__.__dict__["workload_identity_provider"] = workload_identity_provider
|
|
1083
1143
|
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["oauthAuthorizationUrl", "oauthClientId", "oauthClientSecret", "oauthRedirectUri", "oauthTokenRequestUrl", "passcode", "password", "privateKey", "privateKeyPassphrase", "token"])
|
|
1084
1144
|
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
|
1085
1145
|
super(Provider, __self__).__init__(
|
|
@@ -1100,7 +1160,7 @@ class Provider(pulumi.ProviderResource):
|
|
|
1100
1160
|
@pulumi.getter
|
|
1101
1161
|
def authenticator(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1102
1162
|
"""
|
|
1103
|
-
Specifies the [authentication type](https://pkg.go.dev/github.com/snowflakedb/gosnowflake#AuthType) to use when connecting to Snowflake. Valid options are: `SNOWFLAKE` | `OAUTH` | `EXTERNALBROWSER` | `OKTA` | `SNOWFLAKE_JWT` | `TOKENACCESSOR` | `USERNAMEPASSWORDMFA` | `PROGRAMMATIC_ACCESS_TOKEN` | `OAUTH_CLIENT_CREDENTIALS` | `OAUTH_AUTHORIZATION_CODE`. Can also be sourced from the `SNOWFLAKE_AUTHENTICATOR` environment variable.
|
|
1163
|
+
Specifies the [authentication type](https://pkg.go.dev/github.com/snowflakedb/gosnowflake#AuthType) to use when connecting to Snowflake. Valid options are: `SNOWFLAKE` | `OAUTH` | `EXTERNALBROWSER` | `OKTA` | `SNOWFLAKE_JWT` | `TOKENACCESSOR` | `USERNAMEPASSWORDMFA` | `PROGRAMMATIC_ACCESS_TOKEN` | `OAUTH_CLIENT_CREDENTIALS` | `OAUTH_AUTHORIZATION_CODE` | `WORKLOAD_IDENTITY`. Can also be sourced from the `SNOWFLAKE_AUTHENTICATOR` environment variable.
|
|
1104
1164
|
"""
|
|
1105
1165
|
return pulumi.get(self, "authenticator")
|
|
1106
1166
|
|
|
@@ -1328,6 +1388,22 @@ class Provider(pulumi.ProviderResource):
|
|
|
1328
1388
|
"""
|
|
1329
1389
|
return pulumi.get(self, "warehouse")
|
|
1330
1390
|
|
|
1391
|
+
@_builtins.property
|
|
1392
|
+
@pulumi.getter(name="workloadIdentityEntraResource")
|
|
1393
|
+
def workload_identity_entra_resource(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1394
|
+
"""
|
|
1395
|
+
The resource to use for WIF authentication on Azure environment. Can also be sourced from the `SNOWFLAKE_WORKLOAD_IDENTITY_ENTRA_RESOURCE` environment variable.
|
|
1396
|
+
"""
|
|
1397
|
+
return pulumi.get(self, "workload_identity_entra_resource")
|
|
1398
|
+
|
|
1399
|
+
@_builtins.property
|
|
1400
|
+
@pulumi.getter(name="workloadIdentityProvider")
|
|
1401
|
+
def workload_identity_provider(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1402
|
+
"""
|
|
1403
|
+
The workload identity provider to use for WIF authentication. Can also be sourced from the `SNOWFLAKE_WORKLOAD_IDENTITY_PROVIDER` environment variable.
|
|
1404
|
+
"""
|
|
1405
|
+
return pulumi.get(self, "workload_identity_provider")
|
|
1406
|
+
|
|
1331
1407
|
@pulumi.output_type
|
|
1332
1408
|
class TerraformConfigResult:
|
|
1333
1409
|
def __init__(__self__, result=None):
|
{pulumi_snowflake-2.9.0a1761589382.dist-info → pulumi_snowflake-2.9.0a1761968339.dist-info}/RECORD
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
pulumi_snowflake/__init__.py,sha256=
|
|
2
|
-
pulumi_snowflake/_inputs.py,sha256=
|
|
1
|
+
pulumi_snowflake/__init__.py,sha256=fbsCNWyv4kXr_dLcn-GWxxK5nmOcUogEUJL-OHJiw80,24340
|
|
2
|
+
pulumi_snowflake/_inputs.py,sha256=jSRI0Sehqo_6bNKuQjQmDqsxt6lR4bxlFv84fWYmMXI,2538952
|
|
3
3
|
pulumi_snowflake/_utilities.py,sha256=66uLGQDI1oMFOI3Fe5igAphtexWhcSLDyuVW50jW3ik,10789
|
|
4
4
|
pulumi_snowflake/account.py,sha256=KN46WRC181S-cIqdKIelhX9Xtfu3AGmNhwCwwRYUCys,49588
|
|
5
5
|
pulumi_snowflake/account_authentication_policy_attachment.py,sha256=Jr1Kinx5vmNGO13OA4sragSuPMpQ92UUwoeFKqVfEYQ,7611
|
|
@@ -11,8 +11,8 @@ pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py
|
|
|
11
11
|
pulumi_snowflake/api_authentication_integration_with_client_credentials.py,sha256=uNoSou2lWd7SwKmLgTLxTCNDht5px_lYH90_KjzrOfU,41409
|
|
12
12
|
pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py,sha256=V8z2mbAA-7xywPm5OBN5OcE9Zmm7KLq48JIW8jhfHos,42259
|
|
13
13
|
pulumi_snowflake/api_integration.py,sha256=v_tnF_bWV6jaOhd51rFx62-aHPiqA5CXsDSrLSDdIT8,43614
|
|
14
|
-
pulumi_snowflake/authentication_policy.py,sha256=
|
|
15
|
-
pulumi_snowflake/compute_pool.py,sha256=
|
|
14
|
+
pulumi_snowflake/authentication_policy.py,sha256=joILlZLKzyxQhHbA4qOD_Rh7G7rNtOgg_4-EgNR7Ls8,57302
|
|
15
|
+
pulumi_snowflake/compute_pool.py,sha256=RLLZ_QZTz618i3R1y06sBR4ql8vCSF38gP2wkcOe6yE,39659
|
|
16
16
|
pulumi_snowflake/cortex_search_service.py,sha256=BzjfbksIGtMBw2m-qPZ1HCXjwyiLmKD1f0dst81CXC8,31976
|
|
17
17
|
pulumi_snowflake/current_account.py,sha256=_9ww8zHzFQgN625iScuRqEARRKuMQ8LdQgXWD6oSkCI,644003
|
|
18
18
|
pulumi_snowflake/current_organization_account.py,sha256=YL-Crh_UGLRbkEOJuOQnVb-oQ1wz4xnF_N7_Q1h6OIM,641867
|
|
@@ -35,7 +35,8 @@ pulumi_snowflake/function_sql.py,sha256=J7tNxFrvfRSjGGsxZgFgs8kUn4OlELfXSgAkRr5f
|
|
|
35
35
|
pulumi_snowflake/get_account_roles.py,sha256=54Jx5FKXRcl1KOTY0QxW977akLqo6LhaRcE_oAfugXQ,5715
|
|
36
36
|
pulumi_snowflake/get_accounts.py,sha256=osXHoyAezZI5yh3XgzLt39eaJ6bC34nzydejq5kaZe4,5579
|
|
37
37
|
pulumi_snowflake/get_alerts.py,sha256=zbXcqFEk9ReDvsrxOruw31nU81QIIysoFdo-BfP6-Oc,7291
|
|
38
|
-
pulumi_snowflake/
|
|
38
|
+
pulumi_snowflake/get_authentication_policies.py,sha256=7_FJ-zCQK6chVk0i0p4vdfYAESVgQWGZY9e3ca8BaJw,13566
|
|
39
|
+
pulumi_snowflake/get_compute_pools.py,sha256=rp8vBZsRyVkoJoAO-ZnblsOkya6Xn4kYvGKxg7BU6_k,9427
|
|
39
40
|
pulumi_snowflake/get_connections.py,sha256=qcY_8cuOQuUBq4F8ADChQusBLbJtbmUqH2qGBnU7NjY,4638
|
|
40
41
|
pulumi_snowflake/get_cortex_search_services.py,sha256=oJovPMMKOYKVmkSONHM7qzt9gsx71CWR4GVmU3QheaM,11762
|
|
41
42
|
pulumi_snowflake/get_current_account.py,sha256=K5T2f_V-r8qsMgzaHRn9IvTtaCr8dI3y5H8-oqxoIxI,5921
|
|
@@ -50,9 +51,9 @@ pulumi_snowflake/get_external_tables.py,sha256=co_EQUYItj20s7ne1H7dpXJO3ImpGr0wx
|
|
|
50
51
|
pulumi_snowflake/get_failover_groups.py,sha256=TeJ8bkgyK78jlhrH5jdFGAf3AZVD8C4FrbNzZSf4pdA,5482
|
|
51
52
|
pulumi_snowflake/get_file_formats.py,sha256=dUqRLMawylWyRtSP092Ik0bLiqzr2FRy-v0tOgD6MwU,6574
|
|
52
53
|
pulumi_snowflake/get_functions.py,sha256=a46mVUwCCcpxO9c-ASSl5exz4ZktOwtoD-BDCPbc3e8,6432
|
|
53
|
-
pulumi_snowflake/get_git_repositories.py,sha256=
|
|
54
|
+
pulumi_snowflake/get_git_repositories.py,sha256=AcITaLFsS76LKubsoGIHEJF595sYiX9lozRljg92I9E,9511
|
|
54
55
|
pulumi_snowflake/get_grants.py,sha256=f6T2bFpqdY5eed900WOYI8eEPFMpb2ECmE-ELEZ0xgE,15349
|
|
55
|
-
pulumi_snowflake/get_image_repositories.py,sha256=
|
|
56
|
+
pulumi_snowflake/get_image_repositories.py,sha256=kctPvc10CVOEBUUEUJWEugQ0gSgEIvJ9UgOTI_bJ-WI,6091
|
|
56
57
|
pulumi_snowflake/get_masking_policies.py,sha256=HurDufDrjWmqNxMe_qlw4MfhujzA9YH6bHAuLcw8vLg,10581
|
|
57
58
|
pulumi_snowflake/get_materialized_views.py,sha256=1MLeJJQlG9gZUAjJ7pQiURMAIN2_n3moVJSku-IUhGE,6810
|
|
58
59
|
pulumi_snowflake/get_network_policies.py,sha256=BkD-D9ifjVdFschRMDFarmU5IWSjL9cixXbYTpEga1w,6458
|
|
@@ -65,7 +66,7 @@ pulumi_snowflake/get_schemas.py,sha256=45ja8sJVIWozDhaiGWKzaTaZ-fGSB4zBI16cMXSgg
|
|
|
65
66
|
pulumi_snowflake/get_secrets.py,sha256=sst_Vni6Sb-oF30g0euWIgMq8IoGjz1Q908R7s_cZAQ,8782
|
|
66
67
|
pulumi_snowflake/get_security_integrations.py,sha256=a_JM3-EvzxHApUyoBTWwakbNhcqiZZms95LDBO9_ROM,6123
|
|
67
68
|
pulumi_snowflake/get_sequences.py,sha256=7zKrXu-em2eoUrGr1LJYGx1OlAn5ITecEf5mbsRVAlU,6432
|
|
68
|
-
pulumi_snowflake/get_services.py,sha256=
|
|
69
|
+
pulumi_snowflake/get_services.py,sha256=eTGrbv3ODrjnZ5fuZkgyo2Y-bD2hiGuHZ0AuYzl2xgw,12004
|
|
69
70
|
pulumi_snowflake/get_shares.py,sha256=Ev60uU3qoZoCCStoeEAwTihAziiq5exMDpMKrYL5axI,5414
|
|
70
71
|
pulumi_snowflake/get_stages.py,sha256=33Mcbg_fKNF9hrhsZiUpkVrwHq7WPW6exk8OhpAo2sY,6291
|
|
71
72
|
pulumi_snowflake/get_storage_integrations.py,sha256=xdt8ycZEw8HkKbzoBDAEvbX7zRcQ3M3hrMx9PPsV2XU,4971
|
|
@@ -78,10 +79,10 @@ pulumi_snowflake/get_system_get_snowflake_platform_info.py,sha256=DhxACgm2K17ZYg
|
|
|
78
79
|
pulumi_snowflake/get_tables.py,sha256=vRxzCmo_9TR7OG9OYh9O9y8FUYrLQx2TjMEm-OiZ32I,11049
|
|
79
80
|
pulumi_snowflake/get_tags.py,sha256=AXzrwS5fDYAUdD80gsLbO0LRmuZ8fVW-SBq87Z908yA,5268
|
|
80
81
|
pulumi_snowflake/get_tasks.py,sha256=DLMvE8lyqij29gs-9JDm7u01KZ_efWozxna6dr35ZSM,11862
|
|
81
|
-
pulumi_snowflake/get_user_programmatic_access_tokens.py,sha256=
|
|
82
|
+
pulumi_snowflake/get_user_programmatic_access_tokens.py,sha256=4wkCvmCzITbmKG1pKijOMLnUtJ9Dloh1xSf4Bsuo-o8,5509
|
|
82
83
|
pulumi_snowflake/get_users.py,sha256=cZsqbAx0DLGI_TN0wYX0yzWbgvg-krJ_vcCIOYcHW_w,9891
|
|
83
84
|
pulumi_snowflake/get_views.py,sha256=5bxolU6hGSiDon-N_ysqAkqcMzF17elhW3lOeQZ7dJ0,10660
|
|
84
|
-
pulumi_snowflake/get_warehouses.py,sha256=
|
|
85
|
+
pulumi_snowflake/get_warehouses.py,sha256=NTRZzyoT0k_RAW7Bsg3UKv_vjsbOoBTV3jANupdsCh0,8754
|
|
85
86
|
pulumi_snowflake/git_repository.py,sha256=147Q9DrcN-_jEQewYUhWvHKs2aTD-2JYeZ52AjN9Ad8,29949
|
|
86
87
|
pulumi_snowflake/grant_account_role.py,sha256=8O8H66gD8umEbP5xcBM7ARi3FNwHBrI9s2Fa8TZwlfM,13035
|
|
87
88
|
pulumi_snowflake/grant_application_role.py,sha256=nYwPvrkCMGIaLkaF6hawZHNo79dEM16NWBZsuzzfKEs,13134
|
|
@@ -104,7 +105,7 @@ pulumi_snowflake/notification_integration.py,sha256=E5cZkhvev9zsGtymX_y0UytC-xvR
|
|
|
104
105
|
pulumi_snowflake/oauth_integration_for_custom_clients.py,sha256=rEhwOGQONepoJGKqW0ANLKGhlsArSx9P1Ei22ruxb5o,67848
|
|
105
106
|
pulumi_snowflake/oauth_integration_for_partner_applications.py,sha256=Is83_5gtfgINFhswY__n0FJQ5wvQLcyVtxFObLEeOzs,46869
|
|
106
107
|
pulumi_snowflake/object_parameter.py,sha256=G9YrqXejEjvLMn-mx7tUjqtTkjz7fv182DH6je46NEs,19607
|
|
107
|
-
pulumi_snowflake/outputs.py,sha256=
|
|
108
|
+
pulumi_snowflake/outputs.py,sha256=04rd2UZhpGp8YUWruNToNDbV4ysBcgGZqkd7RCb7iuM,2156405
|
|
108
109
|
pulumi_snowflake/password_policy.py,sha256=UJYR8E11cr5Xz_Z4CFku7_kG3OVFw43YiqbRGJJOIU8,60561
|
|
109
110
|
pulumi_snowflake/pipe.py,sha256=-A7N_y7mRyC2xbhmeLlczapXAnIeJjJW05qhfXPu9us,28393
|
|
110
111
|
pulumi_snowflake/primary_connection.py,sha256=ZXK3hasUj-KtQiwK5oxp5FdxxPgJyd-rYDqiGeUzvrc,19931
|
|
@@ -113,8 +114,8 @@ pulumi_snowflake/procedure_javascript.py,sha256=drgTg8Q1DMsC_bMzf0lqQn9WOlgRhHH3
|
|
|
113
114
|
pulumi_snowflake/procedure_python.py,sha256=9g8LjPQHbmAZbZy4lm959J6vA0Ul_wDQD1u4bWVbKVY,103506
|
|
114
115
|
pulumi_snowflake/procedure_scala.py,sha256=c_Ww6RK7mvmLscUUAVsG9VdArGXGhbFKYRaBaVI5f2A,107547
|
|
115
116
|
pulumi_snowflake/procedure_sql.py,sha256=3bnuUcXMYgs80Amn1d6cFGC2mZLGSI-YW78QHBsGVGs,68252
|
|
116
|
-
pulumi_snowflake/provider.py,sha256=
|
|
117
|
-
pulumi_snowflake/pulumi-plugin.json,sha256=
|
|
117
|
+
pulumi_snowflake/provider.py,sha256=KtoT74CAIJKgQsOVW06HwnIrb8pt2fs5_I2Cop-K2-A,102845
|
|
118
|
+
pulumi_snowflake/pulumi-plugin.json,sha256=2yugVTnhrw-Pxwp9AiOHuzacjvhzEf0T5xVdTbfYIKA,85
|
|
118
119
|
pulumi_snowflake/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
119
120
|
pulumi_snowflake/resource_monitor.py,sha256=AJsCxuI7Fmhq-4G4UnCzUo7pzC59Uz6hXnWLwQlLhvY,44033
|
|
120
121
|
pulumi_snowflake/row_access_policy.py,sha256=P4yNKevffDDxH2mJ5TmuSZHTe0uFnmkLspCq5okbz4c,28985
|
|
@@ -153,10 +154,10 @@ pulumi_snowflake/user_public_keys.py,sha256=YLJac9Gddadhd6aNPEHFa5JvR2bCouFghfqK
|
|
|
153
154
|
pulumi_snowflake/view.py,sha256=JvXVY3aNoKHKolPMvjl2RCXRihgXPfa55drTJKgBnI8,52969
|
|
154
155
|
pulumi_snowflake/warehouse.py,sha256=cfqUiSMtv2A-eVuRaBwTYgH1Vy2LIZ7V39hf5JI5rTs,73381
|
|
155
156
|
pulumi_snowflake/config/__init__.py,sha256=XWnQfVtc2oPapjSXXCdORFJvMpXt_SMJQASWdTRoPmc,296
|
|
156
|
-
pulumi_snowflake/config/__init__.pyi,sha256=
|
|
157
|
+
pulumi_snowflake/config/__init__.pyi,sha256=YkONEK-eBZ5lhvznP1aUerLPNP5oEBZyu-HtDkDAdRs,12950
|
|
157
158
|
pulumi_snowflake/config/outputs.py,sha256=dobKlWS5UlTr1Wrtg-V_e4peAN_Om_QMF6Lcncn6nM0,4240
|
|
158
|
-
pulumi_snowflake/config/vars.py,sha256=
|
|
159
|
-
pulumi_snowflake-2.9.
|
|
160
|
-
pulumi_snowflake-2.9.
|
|
161
|
-
pulumi_snowflake-2.9.
|
|
162
|
-
pulumi_snowflake-2.9.
|
|
159
|
+
pulumi_snowflake/config/vars.py,sha256=CPWNHjRND6sUrnl1Ugr0U4es4-JtNovlJYqNf5eAINw,19427
|
|
160
|
+
pulumi_snowflake-2.9.0a1761968339.dist-info/METADATA,sha256=X6Zkl6vRBrTYroysoFaafX0V-QRCMYoBREVXroAX5Hk,5046
|
|
161
|
+
pulumi_snowflake-2.9.0a1761968339.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
162
|
+
pulumi_snowflake-2.9.0a1761968339.dist-info/top_level.txt,sha256=g3Beva1lYynlCe8hPZIQgjAlBgsI_1k3yHm8t4KhUN4,17
|
|
163
|
+
pulumi_snowflake-2.9.0a1761968339.dist-info/RECORD,,
|
{pulumi_snowflake-2.9.0a1761589382.dist-info → pulumi_snowflake-2.9.0a1761968339.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|