Skip to content

Commit 8cec3b1

Browse files
committed
Add provider.tf.template.alpha for ClickPipes examples
1 parent 729737f commit 8cec3b1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+280
-74
lines changed

examples/clickpipe/externally_managed_table/main.tf

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
variable "organization_id" {}
2+
variable "token_key" {}
3+
variable "token_secret" {}
4+
15
variable "service_id" {
26
description = "ClickHouse service ID"
37
}

examples/clickpipe/externally_managed_table/provider.tf

-5
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ terraform {
88
}
99
}
1010

11-
variable "organization_id" {}
12-
variable "token_key" {}
13-
variable "token_secret" {}
14-
15-
1611
provider "clickhouse" {
1712
organization_id = var.organization_id
1813
token_key = var.token_key
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
terraform {
2+
required_providers {
3+
clickhouse = {
4+
version = "${CLICKHOUSE_TERRAFORM_PROVIDER_VERSION}"
5+
source = "ClickHouse/clickhouse"
6+
}
7+
}
8+
}
9+
10+
provider "clickhouse" {
11+
organization_id = var.organization_id
12+
token_key = var.token_key
13+
token_secret = var.token_secret
14+
}

examples/clickpipe/kafka_azure_eventhub/main.tf

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
variable "organization_id" {}
2+
variable "token_key" {}
3+
variable "token_secret" {}
4+
15
variable "service_id" {
26
description = "ClickHouse service ID"
37
}

examples/clickpipe/kafka_azure_eventhub/provider.tf

-5
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ terraform {
88
}
99
}
1010

11-
variable "organization_id" {}
12-
variable "token_key" {}
13-
variable "token_secret" {}
14-
15-
1611
provider "clickhouse" {
1712
organization_id = var.organization_id
1813
token_key = var.token_key
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
terraform {
2+
required_providers {
3+
clickhouse = {
4+
version = "${CLICKHOUSE_TERRAFORM_PROVIDER_VERSION}"
5+
source = "ClickHouse/clickhouse"
6+
}
7+
}
8+
}
9+
10+
provider "clickhouse" {
11+
organization_id = var.organization_id
12+
token_key = var.token_key
13+
token_secret = var.token_secret
14+
}

examples/clickpipe/kafka_confluent/provider.tf

-5
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ terraform {
88
}
99
}
1010

11-
variable "organization_id" {}
12-
variable "token_key" {}
13-
variable "token_secret" {}
14-
15-
1611
provider "clickhouse" {
1712
organization_id = var.organization_id
1813
token_key = var.token_key
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
terraform {
2+
required_providers {
3+
clickhouse = {
4+
version = "${CLICKHOUSE_TERRAFORM_PROVIDER_VERSION}"
5+
source = "ClickHouse/clickhouse"
6+
}
7+
}
8+
}
9+
10+
provider "clickhouse" {
11+
organization_id = var.organization_id
12+
token_key = var.token_key
13+
token_secret = var.token_secret
14+
}

examples/clickpipe/kafka_msk_iam_role/main.tf

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
variable "organization_id" {}
2+
variable "token_key" {}
3+
variable "token_secret" {}
4+
15
variable "service_id" {
26
description = "ClickHouse service ID"
37
}

examples/clickpipe/kafka_msk_iam_role/provider.tf

-5
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ terraform {
88
}
99
}
1010

11-
variable "organization_id" {}
12-
variable "token_key" {}
13-
variable "token_secret" {}
14-
15-
1611
provider "clickhouse" {
1712
organization_id = var.organization_id
1813
token_key = var.token_key
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
terraform {
2+
required_providers {
3+
clickhouse = {
4+
version = "${CLICKHOUSE_TERRAFORM_PROVIDER_VERSION}"
5+
source = "ClickHouse/clickhouse"
6+
}
7+
}
8+
}
9+
10+
provider "clickhouse" {
11+
organization_id = var.organization_id
12+
token_key = var.token_key
13+
token_secret = var.token_secret
14+
}

examples/clickpipe/kafka_msk_iam_user/main.tf

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
variable "organization_id" {}
2+
variable "token_key" {}
3+
variable "token_secret" {}
4+
15
variable "service_id" {
26
description = "ClickHouse service ID"
37
}

examples/clickpipe/kafka_msk_iam_user/provider.tf

-5
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ terraform {
88
}
99
}
1010

11-
variable "organization_id" {}
12-
variable "token_key" {}
13-
variable "token_secret" {}
14-
15-
1611
provider "clickhouse" {
1712
organization_id = var.organization_id
1813
token_key = var.token_key
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
terraform {
2+
required_providers {
3+
clickhouse = {
4+
version = "${CLICKHOUSE_TERRAFORM_PROVIDER_VERSION}"
5+
source = "ClickHouse/clickhouse"
6+
}
7+
}
8+
}
9+
10+
provider "clickhouse" {
11+
organization_id = var.organization_id
12+
token_key = var.token_key
13+
token_secret = var.token_secret
14+
}

examples/clickpipe/kafka_offset_strategy/main.tf

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
variable "organization_id" {}
2+
variable "token_key" {}
3+
variable "token_secret" {}
4+
15
variable "service_id" {
26
description = "ClickHouse service ID"
37
}

examples/clickpipe/kafka_offset_strategy/provider.tf

-5
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ terraform {
88
}
99
}
1010

11-
variable "organization_id" {}
12-
variable "token_key" {}
13-
variable "token_secret" {}
14-
15-
1611
provider "clickhouse" {
1712
organization_id = var.organization_id
1813
token_key = var.token_key
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
terraform {
2+
required_providers {
3+
clickhouse = {
4+
version = "${CLICKHOUSE_TERRAFORM_PROVIDER_VERSION}"
5+
source = "ClickHouse/clickhouse"
6+
}
7+
}
8+
}
9+
10+
provider "clickhouse" {
11+
organization_id = var.organization_id
12+
token_key = var.token_key
13+
token_secret = var.token_secret
14+
}

examples/clickpipe/kafka_redpanda_scram/main.tf

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
variable "organization_id" {}
2+
variable "token_key" {}
3+
variable "token_secret" {}
4+
15
variable "service_id" {
26
description = "ClickHouse service ID"
37
}

examples/clickpipe/kafka_redpanda_scram/provider.tf

-5
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ terraform {
88
}
99
}
1010

11-
variable "organization_id" {}
12-
variable "token_key" {}
13-
variable "token_secret" {}
14-
15-
1611
provider "clickhouse" {
1712
organization_id = var.organization_id
1813
token_key = var.token_key
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
terraform {
2+
required_providers {
3+
clickhouse = {
4+
version = "${CLICKHOUSE_TERRAFORM_PROVIDER_VERSION}"
5+
source = "ClickHouse/clickhouse"
6+
}
7+
}
8+
}
9+
10+
provider "clickhouse" {
11+
organization_id = var.organization_id
12+
token_key = var.token_key
13+
token_secret = var.token_secret
14+
}

examples/clickpipe/kafka_schema_registry/main.tf

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
variable "organization_id" {}
2+
variable "token_key" {}
3+
variable "token_secret" {}
4+
15
variable "service_id" {
26
description = "ClickHouse service ID"
37
}

examples/clickpipe/kafka_schema_registry/provider.tf

-5
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ terraform {
88
}
99
}
1010

11-
variable "organization_id" {}
12-
variable "token_key" {}
13-
variable "token_secret" {}
14-
15-
1611
provider "clickhouse" {
1712
organization_id = var.organization_id
1813
token_key = var.token_key
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
terraform {
2+
required_providers {
3+
clickhouse = {
4+
version = "${CLICKHOUSE_TERRAFORM_PROVIDER_VERSION}"
5+
source = "ClickHouse/clickhouse"
6+
}
7+
}
8+
}
9+
10+
provider "clickhouse" {
11+
organization_id = var.organization_id
12+
token_key = var.token_key
13+
token_secret = var.token_secret
14+
}

examples/clickpipe/multiple_pipes_example/provider.tf

-5
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ terraform {
88
}
99
}
1010

11-
variable "organization_id" {}
12-
variable "token_key" {}
13-
variable "token_secret" {}
14-
15-
1611
provider "clickhouse" {
1712
organization_id = var.organization_id
1813
token_key = var.token_key
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
terraform {
2+
required_providers {
3+
clickhouse = {
4+
version = "${CLICKHOUSE_TERRAFORM_PROVIDER_VERSION}"
5+
source = "ClickHouse/clickhouse"
6+
}
7+
}
8+
}
9+
10+
provider "clickhouse" {
11+
organization_id = var.organization_id
12+
token_key = var.token_key
13+
token_secret = var.token_secret
14+
}

examples/clickpipe/object_storage_iam_role/main.tf

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
variable "organization_id" {}
2+
variable "token_key" {}
3+
variable "token_secret" {}
4+
15
variable "service_id" {
26
description = "ClickHouse service ID"
37
}

examples/clickpipe/object_storage_iam_role/provider.tf

-4
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ terraform {
88
}
99
}
1010

11-
variable "organization_id" {}
12-
variable "token_key" {}
13-
variable "token_secret" {}
14-
1511
provider "clickhouse" {
1612
organization_id = var.organization_id
1713
token_key = var.token_key
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
terraform {
2+
required_providers {
3+
clickhouse = {
4+
version = "${CLICKHOUSE_TERRAFORM_PROVIDER_VERSION}"
5+
source = "ClickHouse/clickhouse"
6+
}
7+
}
8+
}
9+
10+
provider "clickhouse" {
11+
organization_id = var.organization_id
12+
token_key = var.token_key
13+
token_secret = var.token_secret
14+
}

examples/clickpipe/object_storage_iam_user/main.tf

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
variable "organization_id" {}
2+
variable "token_key" {}
3+
variable "token_secret" {}
4+
15
variable "service_id" {
26
description = "ClickHouse service ID"
37
}

examples/clickpipe/object_storage_iam_user/provider.tf

-5
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ terraform {
88
}
99
}
1010

11-
variable "organization_id" {}
12-
variable "token_key" {}
13-
variable "token_secret" {}
14-
15-
1611
provider "clickhouse" {
1712
organization_id = var.organization_id
1813
token_key = var.token_key
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
terraform {
2+
required_providers {
3+
clickhouse = {
4+
version = "${CLICKHOUSE_TERRAFORM_PROVIDER_VERSION}"
5+
source = "ClickHouse/clickhouse"
6+
}
7+
}
8+
}
9+
10+
provider "clickhouse" {
11+
organization_id = var.organization_id
12+
token_key = var.token_key
13+
token_secret = var.token_secret
14+
}

examples/clickpipe/reverse_private_endpoint_msk/main.tf

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
variable "organization_id" {}
2+
variable "token_key" {}
3+
variable "token_secret" {}
4+
15
variable "service_id" {
26
description = "ClickHouse service ID"
37
}

examples/clickpipe/reverse_private_endpoint_msk/provider.tf

-4
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ terraform {
88
}
99
}
1010

11-
variable "organization_id" {}
12-
variable "token_key" {}
13-
variable "token_secret" {}
14-
1511
provider "clickhouse" {
1612
organization_id = var.organization_id
1713
token_key = var.token_key

0 commit comments

Comments
 (0)