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
Copy file name to clipboardExpand all lines: docs/resources/instance.md
+100-4Lines changed: 100 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ The instance resource.
18
18
### Required
19
19
20
20
-`data_sources` (Block Set, Min: 1) The connection for the instance. You can configure read-only or admin connection account here. (see [below for nested schema](#nestedblock--data_sources))
-`resource_id` (String) The instance unique resource id.
23
23
-`title` (String) The instance title.
24
24
@@ -44,21 +44,83 @@ The instance resource.
44
44
45
45
Required:
46
46
47
-
-`host` (String) Host or socket for your instance, or the account name if the instance type is Snowflake.
48
47
-`id` (String) The unique data source id in this instance.
49
-
-`port` (String) The port for your instance.
50
48
-`type` (String) The data source type. Should be ADMIN or READ_ONLY. The READ_ONLY data source requires the instance license.
51
49
52
50
Optional:
53
51
52
+
-`additional_addresses` (Block List) Additional addresses for MongoDB replica set. Only available for MONGODB engine. (see [below for nested schema](#nestedblock--data_sources--additional_addresses))
53
+
-`authentication_database` (String) The database to authenticate against for MongoDB. Only available for MONGODB engine.
54
+
-`authentication_private_key` (String, Sensitive) PKCS#8 private key for authentication.
55
+
-`authentication_private_key_passphrase` (String, Sensitive) Passphrase for encrypted private key.
56
+
-`authentication_type` (String) Authentication type. Supported values depend on engine: COSMOSDB only supports AZURE_IAM; MSSQL supports PASSWORD, AZURE_IAM; ELASTICSEARCH supports PASSWORD, AWS_RDS_IAM; SPANNER, BIGQUERY only support GOOGLE_CLOUD_SQL_IAM; Most other engines support PASSWORD, GOOGLE_CLOUD_SQL_IAM, AWS_RDS_IAM. Default is PASSWORD.
57
+
-`aws_credential` (Block List, Max: 1) AWS IAM credential. Only valid when authentication_type is AWS_RDS_IAM. (see [below for nested schema](#nestedblock--data_sources--aws_credential))
58
+
-`azure_credential` (Block List, Max: 1) Azure IAM credential. Only valid when authentication_type is AZURE_IAM. (see [below for nested schema](#nestedblock--data_sources--azure_credential))
59
+
-`cluster` (String) CockroachDB cluster name. Only available for COCKROACHDB engine.
54
60
-`database` (String) The database for the instance, you can set this if the engine type is POSTGRES.
55
-
-`external_secret` (Block List, Max: 1) The external secret to get the database password. Require instance license to enable this feature. Learn more: https://www.bytebase.com/docs/get-started/instance/#use-external-secret-manager (see [below for nested schema](#nestedblock--data_sources--external_secret))
61
+
-`direct_connection` (Boolean) Use direct connection to MongoDB node. Only available for MONGODB engine.
62
+
-`external_secret` (Block List, Max: 1) The external secret to get the database password. Only available when authentication_type is PASSWORD. Requires instance license. Learn more: https://www.bytebase.com/docs/get-started/instance/#use-external-secret-manager (see [below for nested schema](#nestedblock--data_sources--external_secret))
63
+
-`extra_connection_parameters` (Map of String) Extra connection parameters as key-value pairs. Only available for MYSQL, MARIADB, OCEANBASE, POSTGRES, ORACLE, MSSQL, MONGODB.
64
+
-`gcp_credential` (Block List, Max: 1) GCP IAM credential (service account JSON). Only valid when authentication_type is GOOGLE_CLOUD_SQL_IAM. (see [below for nested schema](#nestedblock--data_sources--gcp_credential))
65
+
-`host` (String) Host or socket for your instance, or the account name if the instance type is Snowflake. Not required for some engines like DYNAMODB.
66
+
-`master_name` (String) Redis Sentinel master name. Only available for REDIS engine.
67
+
-`master_password` (String, Sensitive) Redis Sentinel master password. Only available for REDIS engine.
68
+
-`master_username` (String) Redis Sentinel master username. Only available for REDIS engine.
56
69
-`password` (String, Sensitive) The connection user password used by Bytebase to perform DDL and DML operations.
70
+
-`port` (String) The port for your instance. Not required for some engines like SPANNER, BIGQUERY.
71
+
-`redis_type` (String) Redis deployment type: STANDALONE, SENTINEL, CLUSTER. Only available for REDIS engine.
72
+
-`region` (String) AWS region (e.g., us-east-1). Only available when authentication_type is AWS_RDS_IAM.
73
+
-`replica_set` (String) The replica set name for MongoDB. Only available for MONGODB engine.
74
+
-`sasl_config` (Block List, Max: 1) SASL authentication configuration. Only available for HIVE engine. (see [below for nested schema](#nestedblock--data_sources--sasl_config))
75
+
-`service_name` (String) Oracle service name. Only available for ORACLE engine.
76
+
-`sid` (String) Oracle System Identifier (SID). Only available for ORACLE engine.
77
+
-`srv` (Boolean) Use DNS SRV record for MongoDB connection. Only available for MONGODB engine.
78
+
-`ssh_host` (String) SSH tunnel server hostname. Only available for MYSQL, TIDB, MARIADB, OCEANBASE, POSTGRES, REDIS with PASSWORD authentication.
79
+
-`ssh_password` (String, Sensitive) SSH tunnel password. Only available for MYSQL, TIDB, MARIADB, OCEANBASE, POSTGRES, REDIS with PASSWORD authentication.
80
+
-`ssh_port` (String) SSH tunnel server port. Only available for MYSQL, TIDB, MARIADB, OCEANBASE, POSTGRES, REDIS with PASSWORD authentication.
81
+
-`ssh_private_key` (String, Sensitive) SSH tunnel private key. Only available for MYSQL, TIDB, MARIADB, OCEANBASE, POSTGRES, REDIS with PASSWORD authentication.
82
+
-`ssh_user` (String) SSH tunnel username. Only available for MYSQL, TIDB, MARIADB, OCEANBASE, POSTGRES, REDIS with PASSWORD authentication.
57
83
-`ssl_ca` (String, Sensitive) The CA certificate. Optional, you can set this if the engine type is MYSQL, POSTGRES, TIDB or CLICKHOUSE.
58
84
-`ssl_cert` (String, Sensitive) The client certificate. Optional, you can set this if the engine type is MYSQL, POSTGRES, TIDB or CLICKHOUSE.
59
85
-`ssl_key` (String, Sensitive) The client key. Optional, you can set this if the engine type is MYSQL, POSTGRES, TIDB or CLICKHOUSE.
60
86
-`use_ssl` (Boolean) Enable SSL connection. Required to use SSL certificates.
61
87
-`username` (String) The connection user name used by Bytebase to perform DDL and DML operations.
88
+
-`verify_tls_certificate` (Boolean) Enable TLS certificate verification for SSL connections.
89
+
-`warehouse_id` (String) Databricks warehouse ID. Only available for DATABRICKS engine.
0 commit comments