# How to manage Node Pool of GKE cluster created through composer

**URL:** <https://discuss.hashicorp.com/t/how-to-manage-node-pool-of-gke-cluster-created-through-composer/21187>\
**Category:** Google\
**Created:** [February 19, 2021, 3:30pm UTC](https://discuss.hashicorp.com/t/how-to-manage-node-pool-of-gke-cluster-created-through-composer/21187 "2021-02-19T15:30:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dhanabalan-pop](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/dhanabalan-pop/32/17412_2.png) [@Dhanabalan-pop](https://discuss.hashicorp.com/u/Dhanabalan-pop)\
**Post date:** [February 19, 2021, 3:30pm UTC](https://discuss.hashicorp.com/t/how-to-manage-node-pool-of-gke-cluster-created-through-composer/21187/1 "2021-02-19T15:30:45Z")

</div>

resource “google\_composer\_environment” “composer-test” {

provider = google-beta

name = var.composer\_cluster\_name

project = var.project\_name

region = var.region

config {

```
node_count = var.composer_node_count

node_config {

  zone = var.zone

  machine_type = var.composer_machine_type

  disk_size_gb = "100"

  network = var.network_name

  subnetwork = var.subnet

  service_account = var.service_account

}

software_config {

  airflow_config_overrides = {

               "celery-worker_concurrency" = "25"

               "core-dag_concurrency" = "75"

               "core-dagbag_import_timeout" = "60"

               "core-non_pooled_task_slot_count" = "75"

               "core-parallelism" = "75"

               "scheduler-max_threads" = "16"

             }

  image_version = var.image

  python_version = var.python

  pypi_packages = {

                "mysql-connector" = ">=2.2.9"

                "google-api-core" = ">=1.21.0"

                "google-cloud-bigquery-reservation" = ">=0.2.0"

             }

} 

```

}

}

This is my code to provision composer environment, I have to disable auto upgrade settings in node pool. How to manage it through terraform?
