Dynamic block in v0.11.2 version

Hello,

I wonder if it’s possible to use “dynamic” block in the old version like we can do in the newer version v0.12.x?

resource "aws_security_group" "example" {
  name = "example" # can use expressions here

  dynamic "ingress" {
    for_each = var.service_ports
    content {
      from_port = ingress.value
      to_port   = ingress.value
      protocol  = "tcp"
    }
  }
}

Cheers,
Gary