You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| <aname="input_database_name"></a> [database\_name](#input\_database\_name)| The name of the Snowflake database to use |`string`| n/a | yes |
24
-
| <aname="input_disable_password"></a> [disable\_password](#input\_disable\_password)| Whether to disable the password for the Snowflake user. If true, the user will only be able to authenticate using the RSA public key. |`bool`|`false`| no |
25
24
| <aname="input_fullstory_cidr_ipv4"></a> [fullstory\_cidr\_ipv4](#input\_fullstory\_cidr\_ipv4)| DEPRECATED: Use fullstory\_cidr\_ipv4s. The CIDR block that Fullstory will use to connect to Snowflake. |`string`|`""`| no |
26
25
| <aname="input_fullstory_cidr_ipv4s"></a> [fullstory\_cidr\_ipv4s](#input\_fullstory\_cidr\_ipv4s)| The CIDR blocks that Fullstory will use to connect to Snowflake. |`list(string)`|`[]`| no |
27
26
| <aname="input_fullstory_data_center"></a> [fullstory\_data\_center](#input\_fullstory\_data\_center)| The data center where your Fullstory account is hosted. Either 'NA1' or 'EU1'. See https://help.fullstory.com/hc/en-us/articles/8901113940375-Fullstory-Data-Residency for more information. |`string`|`"NA1"`| no |
28
27
| <aname="input_fullstory_storage_allowed_locations"></a> [fullstory\_storage\_allowed\_locations](#input\_fullstory\_storage\_allowed\_locations)| The list of allowed locations for the storage provider. This is an advanced option and should only be changed if instructed by Fullstory. Ex. <cloud>://<bucket>/<path>/ |`list(string)`| <pre>[<br> "gcs://fullstoryapp-warehouse-sync-bundles"<br>]</pre> | no |
29
28
| <aname="input_fullstory_storage_provider"></a> [fullstory\_storage\_provider](#input\_fullstory\_storage\_provider)| The storage provider to use. Either 'S3', 'GCS' or 'AZURE'. This is an advanced option and should only be changed if instructed by Fullstory. |`string`|`"GCS"`| no |
30
-
| <aname="input_password"></a> [password](#input\_password)| The password to use for the Snowflake user. |`string`|`null`| no |
29
+
| <aname="input_manage_password"></a> [manage\_password](#input\_manage\_password)| Whether to create a random password and use it for the Snowflake user. If false and no password or RSA public key is provided, the user will be created without a password. |`bool`|`true`| no |
30
+
| <aname="input_password"></a> [password](#input\_password)| The password to use for the Snowflake user. Use manage\_password=true if you want to generate a random password. |`string`|`null`| no |
31
31
| <aname="input_role_name"></a> [role\_name](#input\_role\_name)| The name of the Snowflake role to create. |`string`|`null`| no |
32
32
| <aname="input_rsa_public_key"></a> [rsa\_public\_key](#input\_rsa\_public\_key)| The RSA public key to use for the Snowflake user. Must be on 1 line without header and trailer. |`string`|`null`| no |
33
33
| <aname="input_rsa_public_key_2"></a> [rsa\_public\_key\_2](#input\_rsa\_public\_key\_2)| The second RSA public key to use for the Snowflake user. Used when rotating keys. Must be on 1 line without header and trailer. |`string`|`null`| no |
Copy file name to clipboardExpand all lines: variables.tf
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ variable "stage_name" {
17
17
18
18
variable"password" {
19
19
type=string
20
-
description="The password to use for the Snowflake user."
20
+
description="The password to use for the Snowflake user. Use manage_password=true if you want to generate a random password."
21
21
default=null
22
22
sensitive=true
23
23
}
@@ -74,10 +74,10 @@ variable "warehouse_name" {
74
74
description="The name of the Snowflake warehouse to use."
75
75
}
76
76
77
-
variable"disable_password" {
77
+
variable"manage_password" {
78
78
type=bool
79
-
default=false
80
-
description="Whether to disable the password for the Snowflake user. If true, the user will only be able to authenticate using the RSA public key."
79
+
default=true
80
+
description="Whether to create a random password and use it for the Snowflake user. If false and no password or RSA public key is provided, the user will be created without a password."
0 commit comments