Unable to upgrade tf module for eks

Hi There,

I have my terraform code in my local and I would like to take that to Gitlab. When trying to create Pipeline I am getting an error to validate while the same is working in my local.

My Local version: Terraform v0.15.0-dev
From Gitlab: hashicorp/terraform:0.15.0
Module version: “~> 15.1”


Error: Unsupported block type

│ on .terraform/modules/eks/workers.tf line 115, in resource “aws_autoscaling_group” “workers”:
│ 115: dynamic “warm_pool” {

│ Blocks of type “warm_pool” are not expected here.