Skip to content

Commit 0e7684d

Browse files
authored
chore: optimize the error message and example (#119)
1 parent 680f5e7 commit 0e7684d

37 files changed

+107
-104
lines changed

docs/data-sources/instance.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ Read-Only:
5353
- `ssl_cert` (String)
5454
- `ssl_key` (String)
5555
- `type` (String)
56+
- `use_ssl` (Boolean)
5657
- `username` (String)
5758

5859
<a id="nestedobjatt--data_sources--external_secret"></a>

docs/data-sources/instance_list.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ Read-Only:
6262
- `ssl_cert` (String)
6363
- `ssl_key` (String)
6464
- `type` (String)
65+
- `use_ssl` (Boolean)
6566
- `username` (String)
6667

6768
<a id="nestedobjatt--instances--data_sources--external_secret"></a>

docs/resources/instance.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ Optional:
5656
- `ssl_ca` (String, Sensitive) The CA certificate. Optional, you can set this if the engine type is MYSQL, POSTGRES, TIDB or CLICKHOUSE.
5757
- `ssl_cert` (String, Sensitive) The client certificate. Optional, you can set this if the engine type is MYSQL, POSTGRES, TIDB or CLICKHOUSE.
5858
- `ssl_key` (String, Sensitive) The client key. Optional, you can set this if the engine type is MYSQL, POSTGRES, TIDB or CLICKHOUSE.
59+
- `use_ssl` (Boolean) Enable SSL connection. Required to use SSL certificates.
5960
- `username` (String) The connection user name used by Bytebase to perform DDL and DML operations.
6061

6162
<a id="nestedblock--data_sources--external_secret"></a>

examples/database/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
terraform {
33
required_providers {
44
bytebase = {
5-
version = "3.7.1"
5+
version = "3.7.2"
66
# For local development, please use "terraform.local/bytebase/bytebase" instead
77
source = "registry.terraform.io/bytebase/bytebase"
88
}

examples/database_group/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
terraform {
22
required_providers {
33
bytebase = {
4-
version = "3.7.1"
4+
version = "3.7.2"
55
# For local development, please use "terraform.local/bytebase/bytebase" instead
66
source = "registry.terraform.io/bytebase/bytebase"
77
}

examples/environments/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ You should replace the provider initial variables with your own and exec the [se
88

99
```terraform
1010
data "bytebase_setting" "environments" {
11-
name = "ENVIRONMENT"
11+
name = "settings/ENVIRONMENT"
1212
}
1313
```

examples/environments/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
terraform {
22
required_providers {
33
bytebase = {
4-
version = "3.7.1"
4+
version = "3.7.2"
55
# For local development, please use "terraform.local/bytebase/bytebase" instead
66
source = "registry.terraform.io/bytebase/bytebase"
77
}
@@ -19,7 +19,7 @@ provider "bytebase" {
1919

2020
# List all environment
2121
data "bytebase_setting" "environments" {
22-
name = "ENVIRONMENT"
22+
name = "settings/ENVIRONMENT"
2323
}
2424

2525
output "all_environments" {

examples/groups/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
terraform {
22
required_providers {
33
bytebase = {
4-
version = "3.7.1"
4+
version = "3.7.2"
55
# For local development, please use "terraform.local/bytebase/bytebase" instead
66
source = "registry.terraform.io/bytebase/bytebase"
77
}

examples/iamPolicy/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
terraform {
22
required_providers {
33
bytebase = {
4-
version = "3.7.1"
4+
version = "3.7.2"
55
# For local development, please use "terraform.local/bytebase/bytebase" instead
66
source = "registry.terraform.io/bytebase/bytebase"
77
}

examples/instances/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
terraform {
33
required_providers {
44
bytebase = {
5-
version = "3.7.1"
5+
version = "3.7.2"
66
# For local development, please use "terraform.local/bytebase/bytebase" instead
77
source = "registry.terraform.io/bytebase/bytebase"
88
}

0 commit comments

Comments
 (0)