diff --git a/docs/data-sources/clickhouse.md b/docs/data-sources/clickhouse.md index 1451534f0..7b6e08d20 100644 --- a/docs/data-sources/clickhouse.md +++ b/docs/data-sources/clickhouse.md @@ -95,6 +95,7 @@ Read-Only: - `clickhouse` (Boolean) - `clickhouse_https` (Boolean) +- `clickhouse_mysql` (Boolean) - `prometheus` (Boolean) @@ -105,6 +106,7 @@ Read-Only: - `clickhouse` (Boolean) - `clickhouse_https` (Boolean) +- `clickhouse_mysql` (Boolean) - `prometheus` (Boolean) @@ -115,6 +117,7 @@ Read-Only: - `clickhouse` (Boolean) - `clickhouse_https` (Boolean) +- `clickhouse_mysql` (Boolean) - `prometheus` (Boolean) diff --git a/docs/resources/clickhouse.md b/docs/resources/clickhouse.md index 83b50846a..fad489322 100644 --- a/docs/resources/clickhouse.md +++ b/docs/resources/clickhouse.md @@ -99,6 +99,7 @@ Optional: - `clickhouse` (Boolean) Allow clients to connect to clickhouse with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations. - `clickhouse_https` (Boolean) Allow clients to connect to clickhouse_https with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations. +- `clickhouse_mysql` (Boolean) Allow clients to connect to clickhouse_mysql with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations. - `prometheus` (Boolean) Allow clients to connect to prometheus with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations. @@ -109,6 +110,7 @@ Optional: - `clickhouse` (Boolean) Enable clickhouse. - `clickhouse_https` (Boolean) Enable clickhouse_https. +- `clickhouse_mysql` (Boolean) Enable clickhouse_mysql. - `prometheus` (Boolean) Enable prometheus. @@ -119,6 +121,7 @@ Optional: - `clickhouse` (Boolean) Allow clients to connect to clickhouse from the public internet for service nodes that are in a project VPC or another type of private network. - `clickhouse_https` (Boolean) Allow clients to connect to clickhouse_https from the public internet for service nodes that are in a project VPC or another type of private network. +- `clickhouse_mysql` (Boolean) Allow clients to connect to clickhouse_mysql from the public internet for service nodes that are in a project VPC or another type of private network. - `prometheus` (Boolean) Allow clients to connect to prometheus from the public internet for service nodes that are in a project VPC or another type of private network. diff --git a/go.mod b/go.mod index d1de49cf8..a70b3d19f 100644 --- a/go.mod +++ b/go.mod @@ -46,7 +46,7 @@ require ( cloud.google.com/go v0.110.0 // indirect cloud.google.com/go/storage v1.28.1 // indirect github.com/agext/levenshtein v1.2.3 // indirect - github.com/aiven/go-api-schemas v1.39.0 + github.com/aiven/go-api-schemas v1.40.0 github.com/aws/aws-sdk-go v1.44.122 // indirect github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect github.com/davecgh/go-spew v1.1.1 // indirect diff --git a/go.sum b/go.sum index 543ad3a40..1c122da7b 100644 --- a/go.sum +++ b/go.sum @@ -203,8 +203,8 @@ github.com/agext/levenshtein v1.2.3 h1:YB2fHEn0UJagG8T1rrWknE3ZQzWM06O8AMAatNn7l github.com/agext/levenshtein v1.2.3/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= github.com/aiven/aiven-go-client/v2 v2.2.0 h1:ZPeIMF3Jt/wPrwFj3mO1Z8KtP9OHc6GpMtZXmwfBsE4= github.com/aiven/aiven-go-client/v2 v2.2.0/go.mod h1:x0xhzxWEKAwKv0xY5FvECiI6tesWshcPHvjwl0B/1SU= -github.com/aiven/go-api-schemas v1.39.0 h1:U/uu04ppUT4mUVFPTKdKk3HZ3ADGaE4KD4fBjcJSN38= -github.com/aiven/go-api-schemas v1.39.0/go.mod h1:/bPxBUHza/2Aeer6hIIdB++GxKiw9K1KCBtRa2rtZ5I= +github.com/aiven/go-api-schemas v1.40.0 h1:xNp3kTV9vdCPeYW70cNxZOpOhBKMT1KivZNTzNuJDC4= +github.com/aiven/go-api-schemas v1.40.0/go.mod h1:/bPxBUHza/2Aeer6hIIdB++GxKiw9K1KCBtRa2rtZ5I= github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= github.com/apparentlymart/go-dump v0.0.0-20180507223929-23540a00eaa3/go.mod h1:oL81AME2rN47vu18xqj1S1jPIPuN7afo62yKTNn3XMM= github.com/apparentlymart/go-textseg v1.0.0/go.mod h1:z96Txxhf3xSFMPmb5X/1W05FF/Nj9VFpLOpjS5yuumk= diff --git a/internal/schemautil/userconfig/dist/service_types.go b/internal/schemautil/userconfig/dist/service_types.go index b44382efb..20d467787 100644 --- a/internal/schemautil/userconfig/dist/service_types.go +++ b/internal/schemautil/userconfig/dist/service_types.go @@ -249,6 +249,11 @@ func ServiceTypeClickhouse() *schema.Schema { Optional: true, Type: schema.TypeBool, }, + "clickhouse_mysql": { + Description: "Allow clients to connect to clickhouse_mysql with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations.", + Optional: true, + Type: schema.TypeBool, + }, "prometheus": { Description: "Allow clients to connect to prometheus with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations.", Optional: true, @@ -266,6 +271,11 @@ func ServiceTypeClickhouse() *schema.Schema { Optional: true, Type: schema.TypeBool, }, + "clickhouse_mysql": { + Description: "Allow clients to connect to clickhouse_mysql with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations.", + Optional: true, + Type: schema.TypeBool, + }, "prometheus": { Description: "Allow clients to connect to prometheus with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations.", Optional: true, @@ -289,6 +299,11 @@ func ServiceTypeClickhouse() *schema.Schema { Optional: true, Type: schema.TypeBool, }, + "clickhouse_mysql": { + Description: "Enable clickhouse_mysql.", + Optional: true, + Type: schema.TypeBool, + }, "prometheus": { Description: "Enable prometheus.", Optional: true, @@ -306,6 +321,11 @@ func ServiceTypeClickhouse() *schema.Schema { Optional: true, Type: schema.TypeBool, }, + "clickhouse_mysql": { + Description: "Enable clickhouse_mysql.", + Optional: true, + Type: schema.TypeBool, + }, "prometheus": { Description: "Enable prometheus.", Optional: true, @@ -335,6 +355,11 @@ func ServiceTypeClickhouse() *schema.Schema { Optional: true, Type: schema.TypeBool, }, + "clickhouse_mysql": { + Description: "Allow clients to connect to clickhouse_mysql from the public internet for service nodes that are in a project VPC or another type of private network.", + Optional: true, + Type: schema.TypeBool, + }, "prometheus": { Description: "Allow clients to connect to prometheus from the public internet for service nodes that are in a project VPC or another type of private network.", Optional: true, @@ -352,6 +377,11 @@ func ServiceTypeClickhouse() *schema.Schema { Optional: true, Type: schema.TypeBool, }, + "clickhouse_mysql": { + Description: "Allow clients to connect to clickhouse_mysql from the public internet for service nodes that are in a project VPC or another type of private network.", + Optional: true, + Type: schema.TypeBool, + }, "prometheus": { Description: "Allow clients to connect to prometheus from the public internet for service nodes that are in a project VPC or another type of private network.", Optional: true,