Skip to content

Commit 5933d3e

Browse files
modular-magicianEdward Sun
and
Edward Sun
authored
fix ga promotion issue #13380 (#7162) (#13566)
Co-authored-by: Edward Sun <[email protected]> Signed-off-by: Modular Magician <[email protected]> Signed-off-by: Modular Magician <[email protected]> Co-authored-by: Edward Sun <[email protected]>
1 parent 5452ecf commit 5933d3e

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.changelog/7162.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:bug
2+
gke: fixed the error of Invalid address to set on `config_connector_config` of the data source `google_container_cluster`
3+
```

google/resource_container_cluster.go

+17
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ var (
6969
"addons_config.0.dns_cache_config",
7070
"addons_config.0.gce_persistent_disk_csi_driver_config",
7171
"addons_config.0.gke_backup_agent_config",
72+
"addons_config.0.config_connector_config",
7273
}
7374

7475
privateClusterConfigKeys = []string{
@@ -384,6 +385,22 @@ func resourceContainerCluster() *schema.Resource {
384385
},
385386
},
386387
},
388+
"config_connector_config": {
389+
Type: schema.TypeList,
390+
Optional: true,
391+
Computed: true,
392+
AtLeastOneOf: addonsConfigKeys,
393+
MaxItems: 1,
394+
Description: `The of the Config Connector addon.`,
395+
Elem: &schema.Resource{
396+
Schema: map[string]*schema.Schema{
397+
"enabled": {
398+
Type: schema.TypeBool,
399+
Required: true,
400+
},
401+
},
402+
},
403+
},
387404
},
388405
},
389406
},

0 commit comments

Comments
 (0)