Skip to content

Commit 672adf9

Browse files
authored
feat: Add ConfigConnector configuration option (beta) (terraform-google-modules#547)
1 parent d1e5d12 commit 672adf9

File tree

23 files changed

+55
-11
lines changed

23 files changed

+55
-11
lines changed

autogen/main/cluster.tf.tmpl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,10 @@ resource "google_container_cluster" "primary" {
164164
kalm_config {
165165
enabled = var.kalm_config
166166
}
167+
168+
config_connector_config {
169+
enabled = var.config_connector
170+
}
167171
{% endif %}
168172
}
169173

autogen/main/variables.tf.tmpl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,12 @@ variable "kalm_config" {
429429
default = false
430430
}
431431

432+
variable "config_connector" {
433+
type = bool
434+
description = "(Beta) Whether ConfigConnector is enabled for this cluster."
435+
default = false
436+
}
437+
432438
variable "database_encryption" {
433439
description = "Application-layer Secrets Encryption settings. The object format is {state = string, key_name = string}. Valid values of state are: \"ENCRYPTED\"; \"DECRYPTED\". key_name is the name of a CloudKMS key."
434440
type = list(object({ state = string, key_name = string }))

autogen/main/versions.tf.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ terraform {
1919

2020
required_providers {
2121
{% if beta_cluster %}
22-
google-beta = ">= 3.21.0, <4.0.0"
22+
google-beta = ">= 3.23.0, <4.0.0"
2323
{% else %}
2424
google = ">= 3.16, <4.0.0"
2525
{% endif %}

examples/node_pool/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ locals {
1919
}
2020

2121
provider "google-beta" {
22-
version = "~> 3.21.0"
22+
version = "~> 3.23.0"
2323
region = var.region
2424
}
2525

examples/node_pool_update_variant_beta/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ locals {
1919
}
2020

2121
provider "google-beta" {
22-
version = "~> 3.21.0"
22+
version = "~> 3.23.0"
2323
credentials = file(var.credentials_path)
2424
region = var.region
2525
}

examples/regional_private_node_pool_oauth_scopes/provider.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ provider "google" {
1919
}
2020

2121
provider "google-beta" {
22-
version = "3.16.0"
22+
version = "3.23.0"
2323
}

examples/safer_cluster/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ provider "google" {
3434
}
3535

3636
provider "google-beta" {
37-
version = "~> 3.21.0"
37+
version = "~> 3.23.0"
3838
}
3939

4040
module "gke" {

examples/simple_regional_beta/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ locals {
1919
}
2020

2121
provider "google-beta" {
22-
version = "~> 3.21.0"
22+
version = "~> 3.23.0"
2323
region = var.region
2424
}
2525

examples/simple_regional_private_beta/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ provider "google" {
2424
}
2525

2626
provider "google-beta" {
27-
version = "~> 3.21.0"
27+
version = "~> 3.23.0"
2828
region = var.region
2929
}
3030

examples/workload_metadata_config/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ locals {
1919
}
2020

2121
provider "google-beta" {
22-
version = "~> 3.21.0"
22+
version = "~> 3.23.0"
2323
region = var.region
2424
}
2525

0 commit comments

Comments
 (0)