@pulumi/snowflake 2.5.0-alpha.1756363446 → 2.5.0-alpha.1756524553

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.
Files changed (207) hide show
  1. package/account.js +39 -39
  2. package/account.js.map +1 -1
  3. package/accountAuthenticationPolicyAttachment.js +4 -4
  4. package/accountAuthenticationPolicyAttachment.js.map +1 -1
  5. package/accountParameter.js +7 -7
  6. package/accountParameter.js.map +1 -1
  7. package/accountPasswordPolicyAttachment.js +4 -4
  8. package/accountPasswordPolicyAttachment.js.map +1 -1
  9. package/accountRole.js +7 -7
  10. package/accountRole.js.map +1 -1
  11. package/alert.js +25 -25
  12. package/alert.js.map +1 -1
  13. package/apiAuthenticationIntegrationWithAuthorizationCodeGrant.js +29 -29
  14. package/apiAuthenticationIntegrationWithAuthorizationCodeGrant.js.map +1 -1
  15. package/apiAuthenticationIntegrationWithClientCredentials.js +27 -27
  16. package/apiAuthenticationIntegrationWithClientCredentials.js.map +1 -1
  17. package/apiAuthenticationIntegrationWithJwtBearer.js +30 -30
  18. package/apiAuthenticationIntegrationWithJwtBearer.js.map +1 -1
  19. package/apiIntegration.js +33 -33
  20. package/apiIntegration.js.map +1 -1
  21. package/authenticationPolicy.js +24 -24
  22. package/authenticationPolicy.js.map +1 -1
  23. package/computePool.js +25 -25
  24. package/computePool.js.map +1 -1
  25. package/config/vars.d.ts +36 -84
  26. package/config/vars.js +7 -14
  27. package/config/vars.js.map +1 -1
  28. package/cortexSearchService.js +30 -30
  29. package/cortexSearchService.js.map +1 -1
  30. package/currentAccount.js +247 -247
  31. package/currentAccount.js.map +1 -1
  32. package/currentOrganizationAccount.js +246 -246
  33. package/currentOrganizationAccount.js.map +1 -1
  34. package/database.d.ts +4 -0
  35. package/database.js +48 -44
  36. package/database.js.map +1 -1
  37. package/databaseRole.js +10 -10
  38. package/databaseRole.js.map +1 -1
  39. package/dynamicTable.js +39 -39
  40. package/dynamicTable.js.map +1 -1
  41. package/emailNotificationIntegration.js +11 -11
  42. package/emailNotificationIntegration.js.map +1 -1
  43. package/execute.js +10 -10
  44. package/execute.js.map +1 -1
  45. package/externalFunction.js +43 -43
  46. package/externalFunction.js.map +1 -1
  47. package/externalOauthIntegration.js +42 -42
  48. package/externalOauthIntegration.js.map +1 -1
  49. package/externalTable.js +38 -38
  50. package/externalTable.js.map +1 -1
  51. package/externalVolume.js +13 -13
  52. package/externalVolume.js.map +1 -1
  53. package/failoverGroup.d.ts +3 -3
  54. package/failoverGroup.js +20 -20
  55. package/failoverGroup.js.map +1 -1
  56. package/fileFormat.js +77 -77
  57. package/fileFormat.js.map +1 -1
  58. package/functionJava.js +51 -51
  59. package/functionJava.js.map +1 -1
  60. package/functionJavascript.js +37 -37
  61. package/functionJavascript.js.map +1 -1
  62. package/functionPython.js +52 -52
  63. package/functionPython.js.map +1 -1
  64. package/functionScala.js +52 -52
  65. package/functionScala.js.map +1 -1
  66. package/functionSql.js +35 -35
  67. package/functionSql.js.map +1 -1
  68. package/gitRepository.js +22 -22
  69. package/gitRepository.js.map +1 -1
  70. package/grantAccountRole.js +8 -8
  71. package/grantAccountRole.js.map +1 -1
  72. package/grantApplicationRole.js +8 -8
  73. package/grantApplicationRole.js.map +1 -1
  74. package/grantDatabaseRole.js +10 -10
  75. package/grantDatabaseRole.js.map +1 -1
  76. package/grantOwnership.js +10 -10
  77. package/grantOwnership.js.map +1 -1
  78. package/grantPrivilegesToAccountRole.js +22 -22
  79. package/grantPrivilegesToAccountRole.js.map +1 -1
  80. package/grantPrivilegesToDatabaseRole.js +20 -20
  81. package/grantPrivilegesToDatabaseRole.js.map +1 -1
  82. package/grantPrivilegesToShare.js +21 -21
  83. package/grantPrivilegesToShare.js.map +1 -1
  84. package/imageRepository.js +13 -13
  85. package/imageRepository.js.map +1 -1
  86. package/jobService.js +26 -26
  87. package/jobService.js.map +1 -1
  88. package/legacyServiceUser.js +153 -153
  89. package/legacyServiceUser.js.map +1 -1
  90. package/listing.js +16 -16
  91. package/listing.js.map +1 -1
  92. package/managedAccount.js +19 -19
  93. package/managedAccount.js.map +1 -1
  94. package/maskingPolicy.js +25 -25
  95. package/maskingPolicy.js.map +1 -1
  96. package/materializedView.js +24 -24
  97. package/materializedView.js.map +1 -1
  98. package/networkPolicy.js +16 -16
  99. package/networkPolicy.js.map +1 -1
  100. package/networkPolicyAttachment.js +8 -8
  101. package/networkPolicyAttachment.js.map +1 -1
  102. package/networkRule.js +21 -21
  103. package/networkRule.js.map +1 -1
  104. package/notificationIntegration.js +37 -37
  105. package/notificationIntegration.js.map +1 -1
  106. package/oauthIntegrationForCustomClients.js +37 -37
  107. package/oauthIntegrationForCustomClients.js.map +1 -1
  108. package/oauthIntegrationForPartnerApplications.js +24 -24
  109. package/oauthIntegrationForPartnerApplications.js.map +1 -1
  110. package/objectParameter.js +13 -13
  111. package/objectParameter.js.map +1 -1
  112. package/package.json +2 -2
  113. package/passwordPolicy.js +38 -38
  114. package/passwordPolicy.js.map +1 -1
  115. package/pipe.js +25 -25
  116. package/pipe.js.map +1 -1
  117. package/primaryConnection.js +10 -10
  118. package/primaryConnection.js.map +1 -1
  119. package/procedureJava.js +55 -55
  120. package/procedureJava.js.map +1 -1
  121. package/procedureJavascript.js +37 -37
  122. package/procedureJavascript.js.map +1 -1
  123. package/procedurePython.js +53 -53
  124. package/procedurePython.js.map +1 -1
  125. package/procedureScala.js +55 -55
  126. package/procedureScala.js.map +1 -1
  127. package/procedureSql.js +37 -37
  128. package/procedureSql.js.map +1 -1
  129. package/provider.d.ts +58 -136
  130. package/provider.js +42 -43
  131. package/provider.js.map +1 -1
  132. package/resourceMonitor.js +21 -21
  133. package/resourceMonitor.js.map +1 -1
  134. package/rowAccessPolicy.js +20 -20
  135. package/rowAccessPolicy.js.map +1 -1
  136. package/saml2Integration.js +42 -42
  137. package/saml2Integration.js.map +1 -1
  138. package/schema.d.ts +4 -0
  139. package/schema.js +54 -50
  140. package/schema.js.map +1 -1
  141. package/scimIntegration.js +21 -21
  142. package/scimIntegration.js.map +1 -1
  143. package/secondaryConnection.js +11 -11
  144. package/secondaryConnection.js.map +1 -1
  145. package/secondaryDatabase.d.ts +4 -0
  146. package/secondaryDatabase.js +47 -43
  147. package/secondaryDatabase.js.map +1 -1
  148. package/secretWithAuthorizationCodeGrant.js +24 -24
  149. package/secretWithAuthorizationCodeGrant.js.map +1 -1
  150. package/secretWithBasicAuthentication.js +21 -21
  151. package/secretWithBasicAuthentication.js.map +1 -1
  152. package/secretWithClientCredentials.js +21 -21
  153. package/secretWithClientCredentials.js.map +1 -1
  154. package/secretWithGenericString.js +18 -18
  155. package/secretWithGenericString.js.map +1 -1
  156. package/sequence.js +17 -17
  157. package/sequence.js.map +1 -1
  158. package/service.js +36 -36
  159. package/service.js.map +1 -1
  160. package/serviceUser.js +149 -149
  161. package/serviceUser.js.map +1 -1
  162. package/share.js +8 -8
  163. package/share.js.map +1 -1
  164. package/sharedDatabase.js +37 -37
  165. package/sharedDatabase.js.map +1 -1
  166. package/stage.js +32 -32
  167. package/stage.js.map +1 -1
  168. package/storageIntegration.js +32 -32
  169. package/storageIntegration.js.map +1 -1
  170. package/streamOnDirectoryTable.js +21 -21
  171. package/streamOnDirectoryTable.js.map +1 -1
  172. package/streamOnExternalTable.js +27 -27
  173. package/streamOnExternalTable.js.map +1 -1
  174. package/streamOnTable.js +29 -29
  175. package/streamOnTable.js.map +1 -1
  176. package/streamOnView.js +29 -29
  177. package/streamOnView.js.map +1 -1
  178. package/streamlit.js +28 -28
  179. package/streamlit.js.map +1 -1
  180. package/table.js +26 -26
  181. package/table.js.map +1 -1
  182. package/tableColumnMaskingPolicyApplication.js +10 -10
  183. package/tableColumnMaskingPolicyApplication.js.map +1 -1
  184. package/tableConstraint.js +28 -28
  185. package/tableConstraint.js.map +1 -1
  186. package/tag.js +17 -17
  187. package/tag.js.map +1 -1
  188. package/tagAssociation.js +15 -15
  189. package/tagAssociation.js.map +1 -1
  190. package/task.js +152 -152
  191. package/task.js.map +1 -1
  192. package/user.js +163 -163
  193. package/user.js.map +1 -1
  194. package/userAuthenticationPolicyAttachment.js +7 -7
  195. package/userAuthenticationPolicyAttachment.js.map +1 -1
  196. package/userPasswordPolicyAttachment.js +7 -7
  197. package/userPasswordPolicyAttachment.js.map +1 -1
  198. package/userProgrammaticAccessToken.js +23 -23
  199. package/userProgrammaticAccessToken.js.map +1 -1
  200. package/userPublicKeys.js +7 -7
  201. package/userPublicKeys.js.map +1 -1
  202. package/utilities.js +18 -29
  203. package/utilities.js.map +1 -1
  204. package/view.js +37 -37
  205. package/view.js.map +1 -1
  206. package/warehouse.js +36 -36
  207. package/warehouse.js.map +1 -1
package/provider.d.ts CHANGED
@@ -13,16 +13,11 @@ export declare class Provider extends pulumi.ProviderResource {
13
13
  */
14
14
  static isInstance(obj: any): obj is Provider;
15
15
  /**
16
- * Specifies your Snowflake account name assigned by Snowflake. For information about account identifiers, see the
17
- * [Snowflake documentation](https://docs.snowflake.com/en/user-guide/admin-account-identifier#account-name). Required
18
- * unless using `profile`. Can also be sourced from the `SNOWFLAKE_ACCOUNT_NAME` environment variable.
16
+ * 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.
19
17
  */
20
18
  readonly accountName: pulumi.Output<string | undefined>;
21
19
  /**
22
- * Specifies the [authentication type](https://pkg.go.dev/github.com/snowflakedb/gosnowflake#AuthType) to use when
23
- * connecting to Snowflake. Valid options are: `SNOWFLAKE` | `OAUTH` | `EXTERNALBROWSER` | `OKTA` | `SNOWFLAKE_JWT` |
24
- * `TOKENACCESSOR` | `USERNAMEPASSWORDMFA` | `PROGRAMMATIC_ACCESS_TOKEN`. Can also be sourced from the
25
- * `SNOWFLAKE_AUTHENTICATOR` environment variable.
20
+ * 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`. Can also be sourced from the `SNOWFLAKE_AUTHENTICATOR` environment variable.
26
21
  */
27
22
  readonly authenticator: pulumi.Output<string | undefined>;
28
23
  /**
@@ -30,98 +25,75 @@ export declare class Provider extends pulumi.ProviderResource {
30
25
  */
31
26
  readonly clientIp: pulumi.Output<string | undefined>;
32
27
  /**
33
- * When true the MFA token is cached in the credential manager. True by default in Windows/OSX. False for Linux. Can also
34
- * be sourced from the `SNOWFLAKE_CLIENT_REQUEST_MFA_TOKEN` environment variable.
28
+ * 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.
35
29
  */
36
30
  readonly clientRequestMfaToken: pulumi.Output<string | undefined>;
37
31
  /**
38
- * When true the ID token is cached in the credential manager. True by default in Windows/OSX. False for Linux. Can also be
39
- * sourced from the `SNOWFLAKE_CLIENT_STORE_TEMPORARY_CREDENTIAL` environment variable.
32
+ * 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.
40
33
  */
41
34
  readonly clientStoreTemporaryCredential: pulumi.Output<string | undefined>;
42
35
  /**
43
- * Indicates whether console login should be disabled in the driver. Can also be sourced from the
44
- * `SNOWFLAKE_DISABLE_CONSOLE_LOGIN` environment variable.
36
+ * Indicates whether console login should be disabled in the driver. Can also be sourced from the `SNOWFLAKE_DISABLE_CONSOLE_LOGIN` environment variable.
45
37
  */
46
38
  readonly disableConsoleLogin: pulumi.Output<string | undefined>;
47
39
  /**
48
- * Specifies the logging level to be used by the driver. Valid options are: `trace` | `debug` | `info` | `print` |
49
- * `warning` | `error` | `fatal` | `panic`. Can also be sourced from the `SNOWFLAKE_DRIVER_TRACING` environment variable.
40
+ * 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.
50
41
  */
51
42
  readonly driverTracing: pulumi.Output<string | undefined>;
52
43
  /**
53
- * Specifies a custom host value used by the driver for privatelink connections. Can also be sourced from the
54
- * `SNOWFLAKE_HOST` environment variable.
44
+ * Specifies a custom host value used by the driver for privatelink connections. Can also be sourced from the `SNOWFLAKE_HOST` environment variable.
55
45
  */
56
46
  readonly host: pulumi.Output<string | undefined>;
57
47
  /**
58
- * Should retried request contain retry reason. Can also be sourced from the `SNOWFLAKE_INCLUDE_RETRY_REASON` environment
59
- * variable.
48
+ * Should retried request contain retry reason. Can also be sourced from the `SNOWFLAKE_INCLUDE_RETRY_REASON` environment variable.
60
49
  */
61
50
  readonly includeRetryReason: pulumi.Output<string | undefined>;
62
51
  /**
63
- * True represents OCSP fail open mode. False represents OCSP fail closed mode. Fail open true by default. Can also be
64
- * sourced from the `SNOWFLAKE_OCSP_FAIL_OPEN` environment variable.
52
+ * True represents OCSP fail open mode. False represents OCSP fail closed mode. Fail open true by default. Can also be sourced from the `SNOWFLAKE_OCSP_FAIL_OPEN` environment variable.
65
53
  */
66
54
  readonly ocspFailOpen: pulumi.Output<string | undefined>;
67
55
  /**
68
- * The URL of the Okta server. e.g. https://example.okta.com. Okta URL host needs to to have a suffix `okta.com`. Read more
69
- * in Snowflake [docs](https://docs.snowflake.com/en/user-guide/oauth-okta). Can also be sourced from the
70
- * `SNOWFLAKE_OKTA_URL` environment variable.
56
+ * The URL of the Okta server. e.g. https://example.okta.com. Okta URL host needs to to have a suffix `okta.com`. Read more in Snowflake [docs](https://docs.snowflake.com/en/user-guide/oauth-okta). Can also be sourced from the `SNOWFLAKE_OKTA_URL` environment variable.
71
57
  */
72
58
  readonly oktaUrl: pulumi.Output<string | undefined>;
73
59
  /**
74
- * Specifies your Snowflake organization name assigned by Snowflake. For information about account identifiers, see the
75
- * [Snowflake documentation](https://docs.snowflake.com/en/user-guide/admin-account-identifier#organization-name). Required
76
- * unless using `profile`. Can also be sourced from the `SNOWFLAKE_ORGANIZATION_NAME` environment variable.
60
+ * Specifies your Snowflake organization name assigned by Snowflake. For information about account identifiers, see the [Snowflake documentation](https://docs.snowflake.com/en/user-guide/admin-account-identifier#organization-name). Required unless using `profile`. Can also be sourced from the `SNOWFLAKE_ORGANIZATION_NAME` environment variable.
77
61
  */
78
62
  readonly organizationName: pulumi.Output<string | undefined>;
79
63
  /**
80
- * Specifies the passcode provided by Duo when using multi-factor authentication (MFA) for login. Can also be sourced from
81
- * the `SNOWFLAKE_PASSCODE` environment variable.
64
+ * Specifies the passcode provided by Duo when using multi-factor authentication (MFA) for login. Can also be sourced from the `SNOWFLAKE_PASSCODE` environment variable.
82
65
  */
83
66
  readonly passcode: pulumi.Output<string | undefined>;
84
67
  /**
85
- * Password for user + password or
86
- * [token](https://docs.snowflake.com/en/user-guide/programmatic-access-tokens#generating-a-programmatic-access-token) for
87
- * [PAT auth](https://docs.snowflake.com/en/user-guide/programmatic-access-tokens). Cannot be used with `privateKey` and
88
- * `privateKeyPassphrase`. Can also be sourced from the `SNOWFLAKE_PASSWORD` environment variable.
68
+ * Password for user + password or [token](https://docs.snowflake.com/en/user-guide/programmatic-access-tokens#generating-a-programmatic-access-token) for [PAT auth](https://docs.snowflake.com/en/user-guide/programmatic-access-tokens). Cannot be used with `privateKey` and `privateKeyPassphrase`. Can also be sourced from the `SNOWFLAKE_PASSWORD` environment variable.
89
69
  */
90
70
  readonly password: pulumi.Output<string | undefined>;
91
71
  /**
92
- * Private Key for username+private-key auth. Cannot be used with `password`. Can also be sourced from the
93
- * `SNOWFLAKE_PRIVATE_KEY` environment variable.
72
+ * Private Key for username+private-key auth. Cannot be used with `password`. Can also be sourced from the `SNOWFLAKE_PRIVATE_KEY` environment variable.
94
73
  */
95
74
  readonly privateKey: pulumi.Output<string | undefined>;
96
75
  /**
97
- * Supports the encryption ciphers aes-128-cbc, aes-128-gcm, aes-192-cbc, aes-192-gcm, aes-256-cbc, aes-256-gcm, and
98
- * des-ede3-cbc. Can also be sourced from the `SNOWFLAKE_PRIVATE_KEY_PASSPHRASE` environment variable.
76
+ * Supports the encryption ciphers aes-128-cbc, aes-128-gcm, aes-192-cbc, aes-192-gcm, aes-256-cbc, aes-256-gcm, and des-ede3-cbc. Can also be sourced from the `SNOWFLAKE_PRIVATE_KEY_PASSPHRASE` environment variable.
99
77
  */
100
78
  readonly privateKeyPassphrase: pulumi.Output<string | undefined>;
101
79
  /**
102
- * Sets the profile to read from ~/.snowflake/config file. Can also be sourced from the `SNOWFLAKE_PROFILE` environment
103
- * variable.
80
+ * Sets the profile to read from ~/.snowflake/config file. Can also be sourced from the `SNOWFLAKE_PROFILE` environment variable.
104
81
  */
105
82
  readonly profile: pulumi.Output<string | undefined>;
106
83
  /**
107
- * A protocol used in the connection. Valid options are: `http` | `https`. Can also be sourced from the
108
- * `SNOWFLAKE_PROTOCOL` environment variable.
84
+ * A protocol used in the connection. Valid options are: `http` | `https`. Can also be sourced from the `SNOWFLAKE_PROTOCOL` environment variable.
109
85
  */
110
86
  readonly protocol: pulumi.Output<string | undefined>;
111
87
  /**
112
- * Specifies the role to use by default for accessing Snowflake objects in the client session. Can also be sourced from the
113
- * `SNOWFLAKE_ROLE` environment variable.
88
+ * Specifies the role to use by default for accessing Snowflake objects in the client session. Can also be sourced from the `SNOWFLAKE_ROLE` environment variable.
114
89
  */
115
90
  readonly role: pulumi.Output<string | undefined>;
116
91
  /**
117
- * Sets temporary directory used by the driver for operations like encrypting, compressing etc. Can also be sourced from
118
- * the `SNOWFLAKE_TMP_DIRECTORY_PATH` environment variable.
92
+ * Sets temporary directory used by the driver for operations like encrypting, compressing etc. Can also be sourced from the `SNOWFLAKE_TMP_DIRECTORY_PATH` environment variable.
119
93
  */
120
94
  readonly tmpDirectoryPath: pulumi.Output<string | undefined>;
121
95
  /**
122
- * Token to use for OAuth and other forms of token based auth. When this field is set here, or in the TOML file, the
123
- * provider sets the `authenticator` to `OAUTH`. Optionally, set the `authenticator` field to the authenticator you want to
124
- * use. Can also be sourced from the `SNOWFLAKE_TOKEN` environment variable.
96
+ * Token to use for OAuth and other forms of token based auth. When this field is set here, or in the TOML file, the provider sets the `authenticator` to `OAUTH`. Optionally, set the `authenticator` field to the authenticator you want to use. Can also be sourced from the `SNOWFLAKE_TOKEN` environment variable.
125
97
  */
126
98
  readonly token: pulumi.Output<string | undefined>;
127
99
  /**
@@ -129,13 +101,11 @@ export declare class Provider extends pulumi.ProviderResource {
129
101
  */
130
102
  readonly user: pulumi.Output<string | undefined>;
131
103
  /**
132
- * True by default. If false, disables the validation checks for Database, Schema, Warehouse and Role at the time a
133
- * connection is established. Can also be sourced from the `SNOWFLAKE_VALIDATE_DEFAULT_PARAMETERS` environment variable.
104
+ * 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.
134
105
  */
135
106
  readonly validateDefaultParameters: pulumi.Output<string | undefined>;
136
107
  /**
137
- * Specifies the virtual warehouse to use by default for queries, loading, etc. in the client session. Can also be sourced
138
- * from the `SNOWFLAKE_WAREHOUSE` environment variable.
108
+ * 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.
139
109
  */
140
110
  readonly warehouse: pulumi.Output<string | undefined>;
141
111
  /**
@@ -156,16 +126,11 @@ export declare class Provider extends pulumi.ProviderResource {
156
126
  */
157
127
  export interface ProviderArgs {
158
128
  /**
159
- * Specifies your Snowflake account name assigned by Snowflake. For information about account identifiers, see the
160
- * [Snowflake documentation](https://docs.snowflake.com/en/user-guide/admin-account-identifier#account-name). Required
161
- * unless using `profile`. Can also be sourced from the `SNOWFLAKE_ACCOUNT_NAME` environment variable.
129
+ * 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.
162
130
  */
163
131
  accountName?: pulumi.Input<string>;
164
132
  /**
165
- * Specifies the [authentication type](https://pkg.go.dev/github.com/snowflakedb/gosnowflake#AuthType) to use when
166
- * connecting to Snowflake. Valid options are: `SNOWFLAKE` | `OAUTH` | `EXTERNALBROWSER` | `OKTA` | `SNOWFLAKE_JWT` |
167
- * `TOKENACCESSOR` | `USERNAMEPASSWORDMFA` | `PROGRAMMATIC_ACCESS_TOKEN`. Can also be sourced from the
168
- * `SNOWFLAKE_AUTHENTICATOR` environment variable.
133
+ * 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`. Can also be sourced from the `SNOWFLAKE_AUTHENTICATOR` environment variable.
169
134
  */
170
135
  authenticator?: pulumi.Input<string>;
171
136
  /**
@@ -173,28 +138,23 @@ export interface ProviderArgs {
173
138
  */
174
139
  clientIp?: pulumi.Input<string>;
175
140
  /**
176
- * When true the MFA token is cached in the credential manager. True by default in Windows/OSX. False for Linux. Can also
177
- * be sourced from the `SNOWFLAKE_CLIENT_REQUEST_MFA_TOKEN` environment variable.
141
+ * 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.
178
142
  */
179
143
  clientRequestMfaToken?: pulumi.Input<string>;
180
144
  /**
181
- * When true the ID token is cached in the credential manager. True by default in Windows/OSX. False for Linux. Can also be
182
- * sourced from the `SNOWFLAKE_CLIENT_STORE_TEMPORARY_CREDENTIAL` environment variable.
145
+ * 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.
183
146
  */
184
147
  clientStoreTemporaryCredential?: pulumi.Input<string>;
185
148
  /**
186
- * The timeout in seconds for the client to complete the authentication. Can also be sourced from the
187
- * `SNOWFLAKE_CLIENT_TIMEOUT` environment variable.
149
+ * The timeout in seconds for the client to complete the authentication. Can also be sourced from the `SNOWFLAKE_CLIENT_TIMEOUT` environment variable.
188
150
  */
189
151
  clientTimeout?: pulumi.Input<number>;
190
152
  /**
191
- * Indicates whether console login should be disabled in the driver. Can also be sourced from the
192
- * `SNOWFLAKE_DISABLE_CONSOLE_LOGIN` environment variable.
153
+ * Indicates whether console login should be disabled in the driver. Can also be sourced from the `SNOWFLAKE_DISABLE_CONSOLE_LOGIN` environment variable.
193
154
  */
194
155
  disableConsoleLogin?: pulumi.Input<string>;
195
156
  /**
196
- * Disables HTAP query context cache in the driver. Can also be sourced from the `SNOWFLAKE_DISABLE_QUERY_CONTEXT_CACHE`
197
- * environment variable.
157
+ * Disables HTAP query context cache in the driver. Can also be sourced from the `SNOWFLAKE_DISABLE_QUERY_CONTEXT_CACHE` environment variable.
198
158
  */
199
159
  disableQueryContextCache?: pulumi.Input<boolean>;
200
160
  /**
@@ -202,34 +162,27 @@ export interface ProviderArgs {
202
162
  */
203
163
  disableTelemetry?: pulumi.Input<boolean>;
204
164
  /**
205
- * Specifies the logging level to be used by the driver. Valid options are: `trace` | `debug` | `info` | `print` |
206
- * `warning` | `error` | `fatal` | `panic`. Can also be sourced from the `SNOWFLAKE_DRIVER_TRACING` environment variable.
165
+ * 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.
207
166
  */
208
167
  driverTracing?: pulumi.Input<string>;
209
168
  /**
210
- * The timeout in seconds for the external browser to complete the authentication. Can also be sourced from the
211
- * `SNOWFLAKE_EXTERNAL_BROWSER_TIMEOUT` environment variable.
169
+ * The timeout in seconds for the external browser to complete the authentication. Can also be sourced from the `SNOWFLAKE_EXTERNAL_BROWSER_TIMEOUT` environment variable.
212
170
  */
213
171
  externalBrowserTimeout?: pulumi.Input<number>;
214
172
  /**
215
- * Specifies a custom host value used by the driver for privatelink connections. Can also be sourced from the
216
- * `SNOWFLAKE_HOST` environment variable.
173
+ * Specifies a custom host value used by the driver for privatelink connections. Can also be sourced from the `SNOWFLAKE_HOST` environment variable.
217
174
  */
218
175
  host?: pulumi.Input<string>;
219
176
  /**
220
- * Should retried request contain retry reason. Can also be sourced from the `SNOWFLAKE_INCLUDE_RETRY_REASON` environment
221
- * variable.
177
+ * Should retried request contain retry reason. Can also be sourced from the `SNOWFLAKE_INCLUDE_RETRY_REASON` environment variable.
222
178
  */
223
179
  includeRetryReason?: pulumi.Input<string>;
224
180
  /**
225
- * If true, bypass the Online Certificate Status Protocol (OCSP) certificate revocation check. IMPORTANT: Change the
226
- * default value for testing or emergency situations only. Can also be sourced from the `SNOWFLAKE_INSECURE_MODE`
227
- * environment variable.
181
+ * If true, bypass the Online Certificate Status Protocol (OCSP) certificate revocation check. IMPORTANT: Change the default value for testing or emergency situations only. Can also be sourced from the `SNOWFLAKE_INSECURE_MODE` environment variable.
228
182
  */
229
183
  insecureMode?: pulumi.Input<boolean>;
230
184
  /**
231
- * The timeout in seconds for the JWT client to complete the authentication. Can also be sourced from the
232
- * `SNOWFLAKE_JWT_CLIENT_TIMEOUT` environment variable.
185
+ * The timeout in seconds for the JWT client to complete the authentication. Can also be sourced from the `SNOWFLAKE_JWT_CLIENT_TIMEOUT` environment variable.
233
186
  */
234
187
  jwtClientTimeout?: pulumi.Input<number>;
235
188
  /**
@@ -237,120 +190,91 @@ export interface ProviderArgs {
237
190
  */
238
191
  jwtExpireTimeout?: pulumi.Input<number>;
239
192
  /**
240
- * Enables the session to persist even after the connection is closed. Can also be sourced from the
241
- * `SNOWFLAKE_KEEP_SESSION_ALIVE` environment variable.
193
+ * Enables the session to persist even after the connection is closed. Can also be sourced from the `SNOWFLAKE_KEEP_SESSION_ALIVE` environment variable.
242
194
  */
243
195
  keepSessionAlive?: pulumi.Input<boolean>;
244
196
  /**
245
- * Login retry timeout in seconds EXCLUDING network roundtrip and read out http response. Can also be sourced from the
246
- * `SNOWFLAKE_LOGIN_TIMEOUT` environment variable.
197
+ * Login retry timeout in seconds EXCLUDING network roundtrip and read out http response. Can also be sourced from the `SNOWFLAKE_LOGIN_TIMEOUT` environment variable.
247
198
  */
248
199
  loginTimeout?: pulumi.Input<number>;
249
200
  /**
250
- * Specifies how many times non-periodic HTTP request can be retried by the driver. Can also be sourced from the
251
- * `SNOWFLAKE_MAX_RETRY_COUNT` environment variable.
201
+ * Specifies how many times non-periodic HTTP request can be retried by the driver. Can also be sourced from the `SNOWFLAKE_MAX_RETRY_COUNT` environment variable.
252
202
  */
253
203
  maxRetryCount?: pulumi.Input<number>;
254
204
  /**
255
- * True represents OCSP fail open mode. False represents OCSP fail closed mode. Fail open true by default. Can also be
256
- * sourced from the `SNOWFLAKE_OCSP_FAIL_OPEN` environment variable.
205
+ * True represents OCSP fail open mode. False represents OCSP fail closed mode. Fail open true by default. Can also be sourced from the `SNOWFLAKE_OCSP_FAIL_OPEN` environment variable.
257
206
  */
258
207
  ocspFailOpen?: pulumi.Input<string>;
259
208
  /**
260
- * The URL of the Okta server. e.g. https://example.okta.com. Okta URL host needs to to have a suffix `okta.com`. Read more
261
- * in Snowflake [docs](https://docs.snowflake.com/en/user-guide/oauth-okta). Can also be sourced from the
262
- * `SNOWFLAKE_OKTA_URL` environment variable.
209
+ * The URL of the Okta server. e.g. https://example.okta.com. Okta URL host needs to to have a suffix `okta.com`. Read more in Snowflake [docs](https://docs.snowflake.com/en/user-guide/oauth-okta). Can also be sourced from the `SNOWFLAKE_OKTA_URL` environment variable.
263
210
  */
264
211
  oktaUrl?: pulumi.Input<string>;
265
212
  /**
266
- * Specifies your Snowflake organization name assigned by Snowflake. For information about account identifiers, see the
267
- * [Snowflake documentation](https://docs.snowflake.com/en/user-guide/admin-account-identifier#organization-name). Required
268
- * unless using `profile`. Can also be sourced from the `SNOWFLAKE_ORGANIZATION_NAME` environment variable.
213
+ * Specifies your Snowflake organization name assigned by Snowflake. For information about account identifiers, see the [Snowflake documentation](https://docs.snowflake.com/en/user-guide/admin-account-identifier#organization-name). Required unless using `profile`. Can also be sourced from the `SNOWFLAKE_ORGANIZATION_NAME` environment variable.
269
214
  */
270
215
  organizationName?: pulumi.Input<string>;
271
216
  /**
272
- * Sets other connection (i.e. session) parameters. [Parameters](https://docs.snowflake.com/en/sql-reference/parameters).
273
- * This field can not be set with environmental variables.
217
+ * Sets other connection (i.e. session) parameters. [Parameters](https://docs.snowflake.com/en/sql-reference/parameters). This field can not be set with environmental variables.
274
218
  */
275
219
  params?: pulumi.Input<{
276
220
  [key: string]: pulumi.Input<string>;
277
221
  }>;
278
222
  /**
279
- * Specifies the passcode provided by Duo when using multi-factor authentication (MFA) for login. Can also be sourced from
280
- * the `SNOWFLAKE_PASSCODE` environment variable.
223
+ * Specifies the passcode provided by Duo when using multi-factor authentication (MFA) for login. Can also be sourced from the `SNOWFLAKE_PASSCODE` environment variable.
281
224
  */
282
225
  passcode?: pulumi.Input<string>;
283
226
  /**
284
- * False by default. Set to true if the MFA passcode is embedded to the configured password. Can also be sourced from the
285
- * `SNOWFLAKE_PASSCODE_IN_PASSWORD` environment variable.
227
+ * False by default. Set to true if the MFA passcode is embedded to the configured password. Can also be sourced from the `SNOWFLAKE_PASSCODE_IN_PASSWORD` environment variable.
286
228
  */
287
229
  passcodeInPassword?: pulumi.Input<boolean>;
288
230
  /**
289
- * Password for user + password or
290
- * [token](https://docs.snowflake.com/en/user-guide/programmatic-access-tokens#generating-a-programmatic-access-token) for
291
- * [PAT auth](https://docs.snowflake.com/en/user-guide/programmatic-access-tokens). Cannot be used with `privateKey` and
292
- * `privateKeyPassphrase`. Can also be sourced from the `SNOWFLAKE_PASSWORD` environment variable.
231
+ * Password for user + password or [token](https://docs.snowflake.com/en/user-guide/programmatic-access-tokens#generating-a-programmatic-access-token) for [PAT auth](https://docs.snowflake.com/en/user-guide/programmatic-access-tokens). Cannot be used with `privateKey` and `privateKeyPassphrase`. Can also be sourced from the `SNOWFLAKE_PASSWORD` environment variable.
293
232
  */
294
233
  password?: pulumi.Input<string>;
295
234
  /**
296
- * Specifies a custom port value used by the driver for privatelink connections. Can also be sourced from the
297
- * `SNOWFLAKE_PORT` environment variable.
235
+ * Specifies a custom port value used by the driver for privatelink connections. Can also be sourced from the `SNOWFLAKE_PORT` environment variable.
298
236
  */
299
237
  port?: pulumi.Input<number>;
300
238
  previewFeaturesEnabled?: pulumi.Input<pulumi.Input<string>[]>;
301
239
  /**
302
- * Private Key for username+private-key auth. Cannot be used with `password`. Can also be sourced from the
303
- * `SNOWFLAKE_PRIVATE_KEY` environment variable.
240
+ * Private Key for username+private-key auth. Cannot be used with `password`. Can also be sourced from the `SNOWFLAKE_PRIVATE_KEY` environment variable.
304
241
  */
305
242
  privateKey?: pulumi.Input<string>;
306
243
  /**
307
- * Supports the encryption ciphers aes-128-cbc, aes-128-gcm, aes-192-cbc, aes-192-gcm, aes-256-cbc, aes-256-gcm, and
308
- * des-ede3-cbc. Can also be sourced from the `SNOWFLAKE_PRIVATE_KEY_PASSPHRASE` environment variable.
244
+ * Supports the encryption ciphers aes-128-cbc, aes-128-gcm, aes-192-cbc, aes-192-gcm, aes-256-cbc, aes-256-gcm, and des-ede3-cbc. Can also be sourced from the `SNOWFLAKE_PRIVATE_KEY_PASSPHRASE` environment variable.
309
245
  */
310
246
  privateKeyPassphrase?: pulumi.Input<string>;
311
247
  /**
312
- * Sets the profile to read from ~/.snowflake/config file. Can also be sourced from the `SNOWFLAKE_PROFILE` environment
313
- * variable.
248
+ * Sets the profile to read from ~/.snowflake/config file. Can also be sourced from the `SNOWFLAKE_PROFILE` environment variable.
314
249
  */
315
250
  profile?: pulumi.Input<string>;
316
251
  /**
317
- * A protocol used in the connection. Valid options are: `http` | `https`. Can also be sourced from the
318
- * `SNOWFLAKE_PROTOCOL` environment variable.
252
+ * A protocol used in the connection. Valid options are: `http` | `https`. Can also be sourced from the `SNOWFLAKE_PROTOCOL` environment variable.
319
253
  */
320
254
  protocol?: pulumi.Input<string>;
321
255
  /**
322
- * request retry timeout in seconds EXCLUDING network roundtrip and read out http response. Can also be sourced from the
323
- * `SNOWFLAKE_REQUEST_TIMEOUT` environment variable.
256
+ * request retry timeout in seconds EXCLUDING network roundtrip and read out http response. Can also be sourced from the `SNOWFLAKE_REQUEST_TIMEOUT` environment variable.
324
257
  */
325
258
  requestTimeout?: pulumi.Input<number>;
326
259
  /**
327
- * Specifies the role to use by default for accessing Snowflake objects in the client session. Can also be sourced from the
328
- * `SNOWFLAKE_ROLE` environment variable.
260
+ * Specifies the role to use by default for accessing Snowflake objects in the client session. Can also be sourced from the `SNOWFLAKE_ROLE` environment variable.
329
261
  */
330
262
  role?: pulumi.Input<string>;
331
263
  /**
332
- * False by default. Skips TOML configuration file permission verification. This flag has no effect on Windows systems, as
333
- * the permissions are not checked on this platform. Instead of skipping the permissions verification, we recommend setting
334
- * the proper privileges - see the section below. Can also be sourced from the
335
- * `SNOWFLAKE_SKIP_TOML_FILE_PERMISSION_VERIFICATION` environment variable.
264
+ * False by default. Skips TOML configuration file permission verification. This flag has no effect on Windows systems, as the permissions are not checked on this platform. Instead of skipping the permissions verification, we recommend setting the proper privileges - see the section below. Can also be sourced from the `SNOWFLAKE_SKIP_TOML_FILE_PERMISSION_VERIFICATION` environment variable.
336
265
  */
337
266
  skipTomlFilePermissionVerification?: pulumi.Input<boolean>;
338
267
  /**
339
- * Sets temporary directory used by the driver for operations like encrypting, compressing etc. Can also be sourced from
340
- * the `SNOWFLAKE_TMP_DIRECTORY_PATH` environment variable.
268
+ * Sets temporary directory used by the driver for operations like encrypting, compressing etc. Can also be sourced from the `SNOWFLAKE_TMP_DIRECTORY_PATH` environment variable.
341
269
  */
342
270
  tmpDirectoryPath?: pulumi.Input<string>;
343
271
  /**
344
- * Token to use for OAuth and other forms of token based auth. When this field is set here, or in the TOML file, the
345
- * provider sets the `authenticator` to `OAUTH`. Optionally, set the `authenticator` field to the authenticator you want to
346
- * use. Can also be sourced from the `SNOWFLAKE_TOKEN` environment variable.
272
+ * Token to use for OAuth and other forms of token based auth. When this field is set here, or in the TOML file, the provider sets the `authenticator` to `OAUTH`. Optionally, set the `authenticator` field to the authenticator you want to use. Can also be sourced from the `SNOWFLAKE_TOKEN` environment variable.
347
273
  */
348
274
  token?: pulumi.Input<string>;
349
275
  tokenAccessor?: pulumi.Input<inputs.ProviderTokenAccessor>;
350
276
  /**
351
- * False by default. When this is set to true, the provider expects the legacy TOML format. Otherwise, it expects the new
352
- * format. See more in the section below Can also be sourced from the `SNOWFLAKE_USE_LEGACY_TOML_FILE` environment
353
- * variable.
277
+ * False by default. When this is set to true, the provider expects the legacy TOML format. Otherwise, it expects the new format. See more in the section below Can also be sourced from the `SNOWFLAKE_USE_LEGACY_TOML_FILE` environment variable.
354
278
  */
355
279
  useLegacyTomlFile?: pulumi.Input<boolean>;
356
280
  /**
@@ -358,13 +282,11 @@ export interface ProviderArgs {
358
282
  */
359
283
  user?: pulumi.Input<string>;
360
284
  /**
361
- * True by default. If false, disables the validation checks for Database, Schema, Warehouse and Role at the time a
362
- * connection is established. Can also be sourced from the `SNOWFLAKE_VALIDATE_DEFAULT_PARAMETERS` environment variable.
285
+ * 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.
363
286
  */
364
287
  validateDefaultParameters?: pulumi.Input<string>;
365
288
  /**
366
- * Specifies the virtual warehouse to use by default for queries, loading, etc. in the client session. Can also be sourced
367
- * from the `SNOWFLAKE_WAREHOUSE` environment variable.
289
+ * 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.
368
290
  */
369
291
  warehouse?: pulumi.Input<string>;
370
292
  }
package/provider.js CHANGED
@@ -30,52 +30,51 @@ class Provider extends pulumi.ProviderResource {
30
30
  * @param opts A bag of options that control this resource's behavior.
31
31
  */
32
32
  constructor(name, args, opts) {
33
- var _a, _b, _c, _d, _e, _f, _g;
34
33
  let resourceInputs = {};
35
34
  opts = opts || {};
36
35
  {
37
- resourceInputs["accountName"] = args ? args.accountName : undefined;
38
- resourceInputs["authenticator"] = args ? args.authenticator : undefined;
39
- resourceInputs["clientIp"] = args ? args.clientIp : undefined;
40
- resourceInputs["clientRequestMfaToken"] = args ? args.clientRequestMfaToken : undefined;
41
- resourceInputs["clientStoreTemporaryCredential"] = args ? args.clientStoreTemporaryCredential : undefined;
42
- resourceInputs["clientTimeout"] = pulumi.output(args ? args.clientTimeout : undefined).apply(JSON.stringify);
43
- resourceInputs["disableConsoleLogin"] = args ? args.disableConsoleLogin : undefined;
44
- resourceInputs["disableQueryContextCache"] = pulumi.output(args ? args.disableQueryContextCache : undefined).apply(JSON.stringify);
45
- resourceInputs["disableTelemetry"] = pulumi.output(args ? args.disableTelemetry : undefined).apply(JSON.stringify);
46
- resourceInputs["driverTracing"] = args ? args.driverTracing : undefined;
47
- resourceInputs["externalBrowserTimeout"] = pulumi.output(args ? args.externalBrowserTimeout : undefined).apply(JSON.stringify);
48
- resourceInputs["host"] = (_a = (args ? args.host : undefined)) !== null && _a !== void 0 ? _a : utilities.getEnv("SNOWFLAKE_HOST");
49
- resourceInputs["includeRetryReason"] = args ? args.includeRetryReason : undefined;
50
- resourceInputs["insecureMode"] = pulumi.output(args ? args.insecureMode : undefined).apply(JSON.stringify);
51
- resourceInputs["jwtClientTimeout"] = pulumi.output(args ? args.jwtClientTimeout : undefined).apply(JSON.stringify);
52
- resourceInputs["jwtExpireTimeout"] = pulumi.output(args ? args.jwtExpireTimeout : undefined).apply(JSON.stringify);
53
- resourceInputs["keepSessionAlive"] = pulumi.output(args ? args.keepSessionAlive : undefined).apply(JSON.stringify);
54
- resourceInputs["loginTimeout"] = pulumi.output(args ? args.loginTimeout : undefined).apply(JSON.stringify);
55
- resourceInputs["maxRetryCount"] = pulumi.output(args ? args.maxRetryCount : undefined).apply(JSON.stringify);
56
- resourceInputs["ocspFailOpen"] = args ? args.ocspFailOpen : undefined;
57
- resourceInputs["oktaUrl"] = args ? args.oktaUrl : undefined;
58
- resourceInputs["organizationName"] = args ? args.organizationName : undefined;
59
- resourceInputs["params"] = pulumi.output(args ? args.params : undefined).apply(JSON.stringify);
60
- resourceInputs["passcode"] = (args === null || args === void 0 ? void 0 : args.passcode) ? pulumi.secret(args.passcode) : undefined;
61
- resourceInputs["passcodeInPassword"] = pulumi.output(args ? args.passcodeInPassword : undefined).apply(JSON.stringify);
62
- resourceInputs["password"] = (_b = ((args === null || args === void 0 ? void 0 : args.password) ? pulumi.secret(args.password) : undefined)) !== null && _b !== void 0 ? _b : utilities.getEnv("SNOWFLAKE_PASSWORD");
63
- resourceInputs["port"] = pulumi.output((_c = (args ? args.port : undefined)) !== null && _c !== void 0 ? _c : utilities.getEnvNumber("SNOWFLAKE_PORT")).apply(JSON.stringify);
64
- resourceInputs["previewFeaturesEnabled"] = pulumi.output(args ? args.previewFeaturesEnabled : undefined).apply(JSON.stringify);
65
- resourceInputs["privateKey"] = (args === null || args === void 0 ? void 0 : args.privateKey) ? pulumi.secret(args.privateKey) : undefined;
66
- resourceInputs["privateKeyPassphrase"] = (_d = ((args === null || args === void 0 ? void 0 : args.privateKeyPassphrase) ? pulumi.secret(args.privateKeyPassphrase) : undefined)) !== null && _d !== void 0 ? _d : utilities.getEnv("SNOWFLAKE_PRIVATE_KEY_PASSPHRASE");
67
- resourceInputs["profile"] = args ? args.profile : undefined;
68
- resourceInputs["protocol"] = (_e = (args ? args.protocol : undefined)) !== null && _e !== void 0 ? _e : utilities.getEnv("SNOWFLAKE_PROTOCOL");
69
- resourceInputs["requestTimeout"] = pulumi.output(args ? args.requestTimeout : undefined).apply(JSON.stringify);
70
- resourceInputs["role"] = (_f = (args ? args.role : undefined)) !== null && _f !== void 0 ? _f : utilities.getEnv("SNOWFLAKE_ROLE");
71
- resourceInputs["skipTomlFilePermissionVerification"] = pulumi.output(args ? args.skipTomlFilePermissionVerification : undefined).apply(JSON.stringify);
72
- resourceInputs["tmpDirectoryPath"] = args ? args.tmpDirectoryPath : undefined;
73
- resourceInputs["token"] = (args === null || args === void 0 ? void 0 : args.token) ? pulumi.secret(args.token) : undefined;
74
- resourceInputs["tokenAccessor"] = pulumi.output(args ? args.tokenAccessor : undefined).apply(JSON.stringify);
75
- resourceInputs["useLegacyTomlFile"] = pulumi.output(args ? args.useLegacyTomlFile : undefined).apply(JSON.stringify);
76
- resourceInputs["user"] = args ? args.user : undefined;
77
- resourceInputs["validateDefaultParameters"] = args ? args.validateDefaultParameters : undefined;
78
- resourceInputs["warehouse"] = (_g = (args ? args.warehouse : undefined)) !== null && _g !== void 0 ? _g : utilities.getEnv("SNOWFLAKE_WAREHOUSE");
36
+ resourceInputs["accountName"] = args?.accountName;
37
+ resourceInputs["authenticator"] = args?.authenticator;
38
+ resourceInputs["clientIp"] = args?.clientIp;
39
+ resourceInputs["clientRequestMfaToken"] = args?.clientRequestMfaToken;
40
+ resourceInputs["clientStoreTemporaryCredential"] = args?.clientStoreTemporaryCredential;
41
+ resourceInputs["clientTimeout"] = pulumi.output(args?.clientTimeout).apply(JSON.stringify);
42
+ resourceInputs["disableConsoleLogin"] = args?.disableConsoleLogin;
43
+ resourceInputs["disableQueryContextCache"] = pulumi.output(args?.disableQueryContextCache).apply(JSON.stringify);
44
+ resourceInputs["disableTelemetry"] = pulumi.output(args?.disableTelemetry).apply(JSON.stringify);
45
+ resourceInputs["driverTracing"] = args?.driverTracing;
46
+ resourceInputs["externalBrowserTimeout"] = pulumi.output(args?.externalBrowserTimeout).apply(JSON.stringify);
47
+ resourceInputs["host"] = (args?.host) ?? utilities.getEnv("SNOWFLAKE_HOST");
48
+ resourceInputs["includeRetryReason"] = args?.includeRetryReason;
49
+ resourceInputs["insecureMode"] = pulumi.output(args?.insecureMode).apply(JSON.stringify);
50
+ resourceInputs["jwtClientTimeout"] = pulumi.output(args?.jwtClientTimeout).apply(JSON.stringify);
51
+ resourceInputs["jwtExpireTimeout"] = pulumi.output(args?.jwtExpireTimeout).apply(JSON.stringify);
52
+ resourceInputs["keepSessionAlive"] = pulumi.output(args?.keepSessionAlive).apply(JSON.stringify);
53
+ resourceInputs["loginTimeout"] = pulumi.output(args?.loginTimeout).apply(JSON.stringify);
54
+ resourceInputs["maxRetryCount"] = pulumi.output(args?.maxRetryCount).apply(JSON.stringify);
55
+ resourceInputs["ocspFailOpen"] = args?.ocspFailOpen;
56
+ resourceInputs["oktaUrl"] = args?.oktaUrl;
57
+ resourceInputs["organizationName"] = args?.organizationName;
58
+ resourceInputs["params"] = pulumi.output(args?.params).apply(JSON.stringify);
59
+ resourceInputs["passcode"] = args?.passcode ? pulumi.secret(args.passcode) : undefined;
60
+ resourceInputs["passcodeInPassword"] = pulumi.output(args?.passcodeInPassword).apply(JSON.stringify);
61
+ resourceInputs["password"] = (args?.password ? pulumi.secret(args.password) : undefined) ?? utilities.getEnv("SNOWFLAKE_PASSWORD");
62
+ resourceInputs["port"] = pulumi.output((args?.port) ?? utilities.getEnvNumber("SNOWFLAKE_PORT")).apply(JSON.stringify);
63
+ resourceInputs["previewFeaturesEnabled"] = pulumi.output(args?.previewFeaturesEnabled).apply(JSON.stringify);
64
+ resourceInputs["privateKey"] = args?.privateKey ? pulumi.secret(args.privateKey) : undefined;
65
+ resourceInputs["privateKeyPassphrase"] = (args?.privateKeyPassphrase ? pulumi.secret(args.privateKeyPassphrase) : undefined) ?? utilities.getEnv("SNOWFLAKE_PRIVATE_KEY_PASSPHRASE");
66
+ resourceInputs["profile"] = args?.profile;
67
+ resourceInputs["protocol"] = (args?.protocol) ?? utilities.getEnv("SNOWFLAKE_PROTOCOL");
68
+ resourceInputs["requestTimeout"] = pulumi.output(args?.requestTimeout).apply(JSON.stringify);
69
+ resourceInputs["role"] = (args?.role) ?? utilities.getEnv("SNOWFLAKE_ROLE");
70
+ resourceInputs["skipTomlFilePermissionVerification"] = pulumi.output(args?.skipTomlFilePermissionVerification).apply(JSON.stringify);
71
+ resourceInputs["tmpDirectoryPath"] = args?.tmpDirectoryPath;
72
+ resourceInputs["token"] = args?.token ? pulumi.secret(args.token) : undefined;
73
+ resourceInputs["tokenAccessor"] = pulumi.output(args?.tokenAccessor).apply(JSON.stringify);
74
+ resourceInputs["useLegacyTomlFile"] = pulumi.output(args?.useLegacyTomlFile).apply(JSON.stringify);
75
+ resourceInputs["user"] = args?.user;
76
+ resourceInputs["validateDefaultParameters"] = args?.validateDefaultParameters;
77
+ resourceInputs["warehouse"] = (args?.warehouse) ?? utilities.getEnv("SNOWFLAKE_WAREHOUSE");
79
78
  }
80
79
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
81
80
  const secretOpts = { additionalSecretOutputs: ["passcode", "password", "privateKey", "privateKeyPassphrase", "token"] };
package/provider.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,mBAAmB,GAAG,QAAQ,CAAC,YAAY,CAAC;IAC/E,CAAC;IAiID;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAmB,EAAE,IAA6B;;QACxE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C,SAAS,CAAC;YAC9E,cAAc,CAAC,eAAe,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,aAAa,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;YAC3F,cAAc,CAAC,mBAAmB,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;YACnG,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,2BAA2B,CAAC,GAAG,IAAI,EAAE,yBAAyB,CAAC;YAC9E,cAAc,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,EAAE,SAAS,CAAC,IAAI,SAAS,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC;SAC9F;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,CAAC;QACxH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;IAED;;OAEG;IACH,eAAe;QACX,OAAO,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,4CAA4C,EAAE;YACrE,UAAU,EAAE,IAAI;SACnB,EAAE,IAAI,CAAC,CAAC;IACb,CAAC;;AAnLL,4BAoLC;AAnLG,gBAAgB;AACO,qBAAY,GAAG,WAAW,CAAC"}
@@ -23,7 +23,7 @@ class ResourceMonitor extends pulumi.CustomResource {
23
23
  * @param opts Optional settings to control the behavior of the CustomResource.
24
24
  */
25
25
  static get(name, id, state, opts) {
26
- return new ResourceMonitor(name, state, Object.assign(Object.assign({}, opts), { id: id }));
26
+ return new ResourceMonitor(name, state, { ...opts, id: id });
27
27
  }
28
28
  /**
29
29
  * Returns true if the given object is an instance of ResourceMonitor. This is designed to work even
@@ -40,29 +40,29 @@ class ResourceMonitor extends pulumi.CustomResource {
40
40
  opts = opts || {};
41
41
  if (opts.id) {
42
42
  const state = argsOrState;
43
- resourceInputs["creditQuota"] = state ? state.creditQuota : undefined;
44
- resourceInputs["endTimestamp"] = state ? state.endTimestamp : undefined;
45
- resourceInputs["frequency"] = state ? state.frequency : undefined;
46
- resourceInputs["fullyQualifiedName"] = state ? state.fullyQualifiedName : undefined;
47
- resourceInputs["name"] = state ? state.name : undefined;
48
- resourceInputs["notifyTriggers"] = state ? state.notifyTriggers : undefined;
49
- resourceInputs["notifyUsers"] = state ? state.notifyUsers : undefined;
50
- resourceInputs["showOutputs"] = state ? state.showOutputs : undefined;
51
- resourceInputs["startTimestamp"] = state ? state.startTimestamp : undefined;
52
- resourceInputs["suspendImmediateTrigger"] = state ? state.suspendImmediateTrigger : undefined;
53
- resourceInputs["suspendTrigger"] = state ? state.suspendTrigger : undefined;
43
+ resourceInputs["creditQuota"] = state?.creditQuota;
44
+ resourceInputs["endTimestamp"] = state?.endTimestamp;
45
+ resourceInputs["frequency"] = state?.frequency;
46
+ resourceInputs["fullyQualifiedName"] = state?.fullyQualifiedName;
47
+ resourceInputs["name"] = state?.name;
48
+ resourceInputs["notifyTriggers"] = state?.notifyTriggers;
49
+ resourceInputs["notifyUsers"] = state?.notifyUsers;
50
+ resourceInputs["showOutputs"] = state?.showOutputs;
51
+ resourceInputs["startTimestamp"] = state?.startTimestamp;
52
+ resourceInputs["suspendImmediateTrigger"] = state?.suspendImmediateTrigger;
53
+ resourceInputs["suspendTrigger"] = state?.suspendTrigger;
54
54
  }
55
55
  else {
56
56
  const args = argsOrState;
57
- resourceInputs["creditQuota"] = args ? args.creditQuota : undefined;
58
- resourceInputs["endTimestamp"] = args ? args.endTimestamp : undefined;
59
- resourceInputs["frequency"] = args ? args.frequency : undefined;
60
- resourceInputs["name"] = args ? args.name : undefined;
61
- resourceInputs["notifyTriggers"] = args ? args.notifyTriggers : undefined;
62
- resourceInputs["notifyUsers"] = args ? args.notifyUsers : undefined;
63
- resourceInputs["startTimestamp"] = args ? args.startTimestamp : undefined;
64
- resourceInputs["suspendImmediateTrigger"] = args ? args.suspendImmediateTrigger : undefined;
65
- resourceInputs["suspendTrigger"] = args ? args.suspendTrigger : undefined;
57
+ resourceInputs["creditQuota"] = args?.creditQuota;
58
+ resourceInputs["endTimestamp"] = args?.endTimestamp;
59
+ resourceInputs["frequency"] = args?.frequency;
60
+ resourceInputs["name"] = args?.name;
61
+ resourceInputs["notifyTriggers"] = args?.notifyTriggers;
62
+ resourceInputs["notifyUsers"] = args?.notifyUsers;
63
+ resourceInputs["startTimestamp"] = args?.startTimestamp;
64
+ resourceInputs["suspendImmediateTrigger"] = args?.suspendImmediateTrigger;
65
+ resourceInputs["suspendTrigger"] = args?.suspendTrigger;
66
66
  resourceInputs["fullyQualifiedName"] = undefined /*out*/;
67
67
  resourceInputs["showOutputs"] = undefined /*out*/;
68
68
  }