Skip to content

Commit dd5ef1a

Browse files
committed
change "api_server_authorized_ip_ranges" to computed+optional
1 parent a45278f commit dd5ef1a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

internal/services/containers/kubernetes_cluster_resource.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ func resourceKubernetesCluster() *pluginsdk.Resource {
105105
"api_server_authorized_ip_ranges": {
106106
Type: pluginsdk.TypeSet,
107107
Optional: true,
108+
Computed: true, // when public_network_access_enabled=false, api_server_authorized_ip_ranges will be set automatically
108109
Elem: &pluginsdk.Schema{
109110
Type: pluginsdk.TypeString,
110111
ValidateFunc: validate.CIDR,

0 commit comments

Comments
 (0)