Difference between revisions of "Cluster autoscaling"
Jump to navigation
Jump to search
(→Errors) |
|||
Line 9: | Line 9: | ||
== Errors == | == Errors == | ||
+ | |||
+ | google_container_cluster.primary: Modifying... [id=projects/your-project/locations/us-central1- a/clusters/your-project-gke] | ||
+ | ╷ | ||
+ | │ Error: [[googleapi]]: Error 400: Resource limits for cpu, memory must be specified when enabling node [[autoprovisioning]]., badRequest | ||
+ | │ | ||
+ | │ with google_container_cluster.primary, | ||
+ | │ on [[gke.tf]] line 2, in resource "google_container_cluster" "primary": | ||
+ | │ 2: resource "google_container_cluster" "primary" { | ||
+ | │ | ||
+ | ╵ | ||
+ | |||
+ | |||
╷ | ╷ | ||
│ [[Error: Unsupported argument]] | │ [[Error: Unsupported argument]] | ||
Line 17: | Line 29: | ||
│ An argument named "cluster_autoscaling" is not expected here. [[Did you mean to define a block of type]] "cluster_autoscaling"? | │ An argument named "cluster_autoscaling" is not expected here. [[Did you mean to define a block of type]] "cluster_autoscaling"? | ||
╵ | ╵ | ||
− | |||
== Related == | == Related == |
Revision as of 08:52, 1 November 2022
https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/container_cluster#
cluster_autoscaling cluster_autoscaling { enabled = true }
Errors
google_container_cluster.primary: Modifying... [id=projects/your-project/locations/us-central1- a/clusters/your-project-gke] ╷ │ Error: googleapi: Error 400: Resource limits for cpu, memory must be specified when enabling node autoprovisioning., badRequest │ │ with google_container_cluster.primary, │ on gke.tf line 2, in resource "google_container_cluster" "primary": │ 2: resource "google_container_cluster" "primary" { │ ╵
╷ │ Error: Unsupported argument │ │ on gke.tf line 15, in resource "google_container_cluster" "primary": │ 15: cluster_autoscaling = true │ │ An argument named "cluster_autoscaling" is not expected here. Did you mean to define a block of type "cluster_autoscaling"? ╵
Related
See also
- Terraform GCP: [
google_storage_bucket| default_object_access_control | default_object_acl | object_access_control | object_acl | google_container_node_pool | google_compute_address | google_compute_network | google_compute_subnetwork | google_iam_policy | google_project_service | google_service_account | google_compute_router | google_compute_router_nat | google_sql_database_instance
]
Advertising: