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?