pulumi-snowflake 0.61.0a1731393894__py3-none-any.whl → 0.61.1__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 +110 -0
- pulumi_snowflake/_inputs.py +5182 -1837
- pulumi_snowflake/account_authentication_policy_attachment.py +149 -0
- pulumi_snowflake/authentication_policy.py +622 -0
- pulumi_snowflake/config/__init__.pyi +86 -36
- pulumi_snowflake/config/vars.py +104 -40
- pulumi_snowflake/external_volume.py +378 -0
- pulumi_snowflake/get_connections.py +147 -0
- pulumi_snowflake/get_grants.py +4 -0
- pulumi_snowflake/get_secrets.py +204 -0
- pulumi_snowflake/get_streams.py +105 -56
- pulumi_snowflake/grant_account_role.py +2 -2
- pulumi_snowflake/grant_application_role.py +2 -2
- pulumi_snowflake/grant_database_role.py +2 -2
- pulumi_snowflake/grant_ownership.py +14 -14
- pulumi_snowflake/grant_privileges_to_account_role.py +8 -8
- pulumi_snowflake/grant_privileges_to_database_role.py +8 -8
- pulumi_snowflake/grant_privileges_to_share.py +2 -2
- pulumi_snowflake/legacy_service_user.py +4 -0
- pulumi_snowflake/outputs.py +4390 -1335
- pulumi_snowflake/primary_connection.py +330 -0
- pulumi_snowflake/provider.py +433 -146
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/secondary_connection.py +339 -0
- pulumi_snowflake/secret_with_authorization_code_grant.py +548 -0
- pulumi_snowflake/secret_with_basic_authentication.py +500 -0
- pulumi_snowflake/secret_with_client_credentials.py +511 -0
- pulumi_snowflake/secret_with_generic_string.py +452 -0
- pulumi_snowflake/stream_on_directory_table.py +530 -0
- pulumi_snowflake/stream_on_external_table.py +50 -2
- pulumi_snowflake/stream_on_table.py +48 -0
- pulumi_snowflake/stream_on_view.py +679 -0
- pulumi_snowflake/tag_association.py +7 -7
- pulumi_snowflake/user.py +4 -0
- pulumi_snowflake/user_authentication_policy_attachment.py +197 -0
- {pulumi_snowflake-0.61.0a1731393894.dist-info → pulumi_snowflake-0.61.1.dist-info}/METADATA +1 -1
- {pulumi_snowflake-0.61.0a1731393894.dist-info → pulumi_snowflake-0.61.1.dist-info}/RECORD +39 -25
- {pulumi_snowflake-0.61.0a1731393894.dist-info → pulumi_snowflake-0.61.1.dist-info}/WHEEL +1 -1
- {pulumi_snowflake-0.61.0a1731393894.dist-info → pulumi_snowflake-0.61.1.dist-info}/top_level.txt +0 -0
|
@@ -369,25 +369,25 @@ class GrantPrivilegesToAccountRole(pulumi.CustomResource):
|
|
|
369
369
|
#### Grant all privileges OnAccountObject (Database)
|
|
370
370
|
|
|
371
371
|
```sh
|
|
372
|
-
$ pulumi import snowflake:index/grantPrivilegesToAccountRole:GrantPrivilegesToAccountRole
|
|
372
|
+
$ pulumi import snowflake:index/grantPrivilegesToAccountRole:GrantPrivilegesToAccountRole example '"test_db_role"|false|false|ALL|OnAccountObject|DATABASE|"test_db"'`
|
|
373
373
|
```
|
|
374
374
|
|
|
375
375
|
#### Grant list of privileges OnAllSchemasInDatabase
|
|
376
376
|
|
|
377
377
|
```sh
|
|
378
|
-
$ pulumi import snowflake:index/grantPrivilegesToAccountRole:GrantPrivilegesToAccountRole
|
|
378
|
+
$ pulumi import snowflake:index/grantPrivilegesToAccountRole:GrantPrivilegesToAccountRole example '"test_db_role"|false|false|CREATE TAG,CREATE TABLE|OnSchema|OnAllSchemasInDatabase|"test_db"'`
|
|
379
379
|
```
|
|
380
380
|
|
|
381
381
|
#### Grant list of privileges on table
|
|
382
382
|
|
|
383
383
|
```sh
|
|
384
|
-
$ pulumi import snowflake:index/grantPrivilegesToAccountRole:GrantPrivilegesToAccountRole
|
|
384
|
+
$ pulumi import snowflake:index/grantPrivilegesToAccountRole:GrantPrivilegesToAccountRole example '"test_db_role"|false|false|SELECT,DELETE,INSERT|OnSchemaObject|OnObject|TABLE|"test_db"."test_schema"."test_table"'`
|
|
385
385
|
```
|
|
386
386
|
|
|
387
387
|
#### Grant list of privileges OnAll tables in schema
|
|
388
388
|
|
|
389
389
|
```sh
|
|
390
|
-
$ pulumi import snowflake:index/grantPrivilegesToAccountRole:GrantPrivilegesToAccountRole
|
|
390
|
+
$ pulumi import snowflake:index/grantPrivilegesToAccountRole:GrantPrivilegesToAccountRole example '"test_db_role"|false|false|SELECT,DELETE,INSERT|OnSchemaObject|OnAll|TABLES|InSchema|"test_db"."test_schema"'`
|
|
391
391
|
```
|
|
392
392
|
|
|
393
393
|
:param str resource_name: The name of the resource.
|
|
@@ -416,25 +416,25 @@ class GrantPrivilegesToAccountRole(pulumi.CustomResource):
|
|
|
416
416
|
#### Grant all privileges OnAccountObject (Database)
|
|
417
417
|
|
|
418
418
|
```sh
|
|
419
|
-
$ pulumi import snowflake:index/grantPrivilegesToAccountRole:GrantPrivilegesToAccountRole
|
|
419
|
+
$ pulumi import snowflake:index/grantPrivilegesToAccountRole:GrantPrivilegesToAccountRole example '"test_db_role"|false|false|ALL|OnAccountObject|DATABASE|"test_db"'`
|
|
420
420
|
```
|
|
421
421
|
|
|
422
422
|
#### Grant list of privileges OnAllSchemasInDatabase
|
|
423
423
|
|
|
424
424
|
```sh
|
|
425
|
-
$ pulumi import snowflake:index/grantPrivilegesToAccountRole:GrantPrivilegesToAccountRole
|
|
425
|
+
$ pulumi import snowflake:index/grantPrivilegesToAccountRole:GrantPrivilegesToAccountRole example '"test_db_role"|false|false|CREATE TAG,CREATE TABLE|OnSchema|OnAllSchemasInDatabase|"test_db"'`
|
|
426
426
|
```
|
|
427
427
|
|
|
428
428
|
#### Grant list of privileges on table
|
|
429
429
|
|
|
430
430
|
```sh
|
|
431
|
-
$ pulumi import snowflake:index/grantPrivilegesToAccountRole:GrantPrivilegesToAccountRole
|
|
431
|
+
$ pulumi import snowflake:index/grantPrivilegesToAccountRole:GrantPrivilegesToAccountRole example '"test_db_role"|false|false|SELECT,DELETE,INSERT|OnSchemaObject|OnObject|TABLE|"test_db"."test_schema"."test_table"'`
|
|
432
432
|
```
|
|
433
433
|
|
|
434
434
|
#### Grant list of privileges OnAll tables in schema
|
|
435
435
|
|
|
436
436
|
```sh
|
|
437
|
-
$ pulumi import snowflake:index/grantPrivilegesToAccountRole:GrantPrivilegesToAccountRole
|
|
437
|
+
$ pulumi import snowflake:index/grantPrivilegesToAccountRole:GrantPrivilegesToAccountRole example '"test_db_role"|false|false|SELECT,DELETE,INSERT|OnSchemaObject|OnAll|TABLES|InSchema|"test_db"."test_schema"'`
|
|
438
438
|
```
|
|
439
439
|
|
|
440
440
|
:param str resource_name: The name of the resource.
|
|
@@ -336,25 +336,25 @@ class GrantPrivilegesToDatabaseRole(pulumi.CustomResource):
|
|
|
336
336
|
#### Grant all privileges OnDatabase
|
|
337
337
|
|
|
338
338
|
```sh
|
|
339
|
-
$ pulumi import snowflake:index/grantPrivilegesToDatabaseRole:GrantPrivilegesToDatabaseRole
|
|
339
|
+
$ pulumi import snowflake:index/grantPrivilegesToDatabaseRole:GrantPrivilegesToDatabaseRole example '"test_db"."test_db_role"|false|false|ALL|OnDatabase|"test_db"'`
|
|
340
340
|
```
|
|
341
341
|
|
|
342
342
|
#### Grant list of privileges OnAllSchemasInDatabase
|
|
343
343
|
|
|
344
344
|
```sh
|
|
345
|
-
$ pulumi import snowflake:index/grantPrivilegesToDatabaseRole:GrantPrivilegesToDatabaseRole
|
|
345
|
+
$ pulumi import snowflake:index/grantPrivilegesToDatabaseRole:GrantPrivilegesToDatabaseRole example '"test_db"."test_db_role"|false|false|CREATE TAG,CREATE TABLE|OnSchema|OnAllSchemasInDatabase|"test_db"'`
|
|
346
346
|
```
|
|
347
347
|
|
|
348
348
|
#### Grant list of privileges on table
|
|
349
349
|
|
|
350
350
|
```sh
|
|
351
|
-
$ pulumi import snowflake:index/grantPrivilegesToDatabaseRole:GrantPrivilegesToDatabaseRole
|
|
351
|
+
$ pulumi import snowflake:index/grantPrivilegesToDatabaseRole:GrantPrivilegesToDatabaseRole example '"test_db"."test_db_role"|false|false|SELECT,DELETE,INSERT|OnSchemaObject|OnObject|TABLE|"test_db"."test_schema"."test_table"'`
|
|
352
352
|
```
|
|
353
353
|
|
|
354
354
|
#### Grant list of privileges OnAll tables in schema
|
|
355
355
|
|
|
356
356
|
```sh
|
|
357
|
-
$ pulumi import snowflake:index/grantPrivilegesToDatabaseRole:GrantPrivilegesToDatabaseRole
|
|
357
|
+
$ pulumi import snowflake:index/grantPrivilegesToDatabaseRole:GrantPrivilegesToDatabaseRole example '"test_db"."test_db_role"|false|false|SELECT,DELETE,INSERT|OnSchemaObject|OnAll|TABLES|InSchema|"test_db"."test_schema"'`
|
|
358
358
|
```
|
|
359
359
|
|
|
360
360
|
:param str resource_name: The name of the resource.
|
|
@@ -382,25 +382,25 @@ class GrantPrivilegesToDatabaseRole(pulumi.CustomResource):
|
|
|
382
382
|
#### Grant all privileges OnDatabase
|
|
383
383
|
|
|
384
384
|
```sh
|
|
385
|
-
$ pulumi import snowflake:index/grantPrivilegesToDatabaseRole:GrantPrivilegesToDatabaseRole
|
|
385
|
+
$ pulumi import snowflake:index/grantPrivilegesToDatabaseRole:GrantPrivilegesToDatabaseRole example '"test_db"."test_db_role"|false|false|ALL|OnDatabase|"test_db"'`
|
|
386
386
|
```
|
|
387
387
|
|
|
388
388
|
#### Grant list of privileges OnAllSchemasInDatabase
|
|
389
389
|
|
|
390
390
|
```sh
|
|
391
|
-
$ pulumi import snowflake:index/grantPrivilegesToDatabaseRole:GrantPrivilegesToDatabaseRole
|
|
391
|
+
$ pulumi import snowflake:index/grantPrivilegesToDatabaseRole:GrantPrivilegesToDatabaseRole example '"test_db"."test_db_role"|false|false|CREATE TAG,CREATE TABLE|OnSchema|OnAllSchemasInDatabase|"test_db"'`
|
|
392
392
|
```
|
|
393
393
|
|
|
394
394
|
#### Grant list of privileges on table
|
|
395
395
|
|
|
396
396
|
```sh
|
|
397
|
-
$ pulumi import snowflake:index/grantPrivilegesToDatabaseRole:GrantPrivilegesToDatabaseRole
|
|
397
|
+
$ pulumi import snowflake:index/grantPrivilegesToDatabaseRole:GrantPrivilegesToDatabaseRole example '"test_db"."test_db_role"|false|false|SELECT,DELETE,INSERT|OnSchemaObject|OnObject|TABLE|"test_db"."test_schema"."test_table"'`
|
|
398
398
|
```
|
|
399
399
|
|
|
400
400
|
#### Grant list of privileges OnAll tables in schema
|
|
401
401
|
|
|
402
402
|
```sh
|
|
403
|
-
$ pulumi import snowflake:index/grantPrivilegesToDatabaseRole:GrantPrivilegesToDatabaseRole
|
|
403
|
+
$ pulumi import snowflake:index/grantPrivilegesToDatabaseRole:GrantPrivilegesToDatabaseRole example '"test_db"."test_db_role"|false|false|SELECT,DELETE,INSERT|OnSchemaObject|OnAll|TABLES|InSchema|"test_db"."test_schema"'`
|
|
404
404
|
```
|
|
405
405
|
|
|
406
406
|
:param str resource_name: The name of the resource.
|
|
@@ -339,7 +339,7 @@ class GrantPrivilegesToShare(pulumi.CustomResource):
|
|
|
339
339
|
### OnView
|
|
340
340
|
|
|
341
341
|
```sh
|
|
342
|
-
$ pulumi import snowflake:index/grantPrivilegesToShare:GrantPrivilegesToShare <view_name>
|
|
342
|
+
$ pulumi import snowflake:index/grantPrivilegesToShare:GrantPrivilegesToShare example '<share_name>|<privileges>|OnView|<database_name>.<schema_name>.<view_name>'`
|
|
343
343
|
```
|
|
344
344
|
|
|
345
345
|
:param str resource_name: The name of the resource.
|
|
@@ -366,7 +366,7 @@ class GrantPrivilegesToShare(pulumi.CustomResource):
|
|
|
366
366
|
### OnView
|
|
367
367
|
|
|
368
368
|
```sh
|
|
369
|
-
$ pulumi import snowflake:index/grantPrivilegesToShare:GrantPrivilegesToShare <view_name>
|
|
369
|
+
$ pulumi import snowflake:index/grantPrivilegesToShare:GrantPrivilegesToShare example '<share_name>|<privileges>|OnView|<database_name>.<schema_name>.<view_name>'`
|
|
370
370
|
```
|
|
371
371
|
|
|
372
372
|
:param str resource_name: The name of the resource.
|
|
@@ -2529,6 +2529,8 @@ class LegacyServiceUser(pulumi.CustomResource):
|
|
|
2529
2529
|
$ pulumi import snowflake:index/legacyServiceUser:LegacyServiceUser example '"<user_name>"'
|
|
2530
2530
|
```
|
|
2531
2531
|
|
|
2532
|
+
Note: pulumi preview+apply may be needed after successful import to fill out all the missing fields (like `password`) in state.
|
|
2533
|
+
|
|
2532
2534
|
:param str resource_name: The name of the resource.
|
|
2533
2535
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
2534
2536
|
:param pulumi.Input[bool] abort_detached_query: Specifies the action that Snowflake performs for in-progress queries if connectivity is lost due to abrupt termination of a session (e.g. network outage, browser termination, service interruption). For more information, check [ABORT*DETACHED*QUERY docs](https://docs.snowflake.com/en/sql-reference/parameters#abort-detached-query).
|
|
@@ -2616,6 +2618,8 @@ class LegacyServiceUser(pulumi.CustomResource):
|
|
|
2616
2618
|
$ pulumi import snowflake:index/legacyServiceUser:LegacyServiceUser example '"<user_name>"'
|
|
2617
2619
|
```
|
|
2618
2620
|
|
|
2621
|
+
Note: pulumi preview+apply may be needed after successful import to fill out all the missing fields (like `password`) in state.
|
|
2622
|
+
|
|
2619
2623
|
:param str resource_name: The name of the resource.
|
|
2620
2624
|
:param LegacyServiceUserArgs args: The arguments to use to populate this resource's properties.
|
|
2621
2625
|
:param pulumi.ResourceOptions opts: Options for the resource.
|