Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type error fetching subnetwork of GKE cluster #3871

Closed
tas50 opened this issue Apr 29, 2024 · 0 comments · Fixed by #4251
Closed

Type error fetching subnetwork of GKE cluster #3871

tas50 opened this issue Apr 29, 2024 · 0 comments · Fixed by #4251
Assignees

Comments

@tas50
Copy link
Member

tas50 commented Apr 29, 2024

Describe the bug
cnquery shows a type error instead of the subnetwork value in the GKE resource

cnquery shell gcp project 253146780735

cnquery> gcp.project.gke.clusters.first{*}.networkConfig
1 error occurred:
	* [gcp] cannot set 'region' in resource 'gcp.project.computeService.subnetwork', type does not match
gcp.project.gke.clusters.first.networkConfig: {
  dnsConfig: {
    clusterDns: "CLOUD_DNS"
    clusterDnsDomain: "cluster.local"
    clusterDnsScope: "CLUSTER_SCOPE"
  }
  defaultSnatStatus: {
    disabled: false
  }
  serviceExternalIpsConfig: {
    enabled: false
  }
  network: gcp.project.computeService.network name="default"
  networkPath: "projects/1234/global/networks/default"
  privateIpv6GoogleAccess: "PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED"
  id: "gcp.project.gkeService.cluster/1234/networkConfig"
  enableL4IlbSubsetting: false
  datapathProvider: "ADVANCED_DATAPATH"
  subnetwork: [gcp] cannot set 'region' in resource 'gcp.project.computeService.subnetwork', type does not match
  subnetworkPath: "projects/1234/regions/us-west4/subnetworks/default"
  enableIntraNodeVisibility: true
}
cnquery>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants