IBM-Cloud / terraform-provider-ibm

https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs
Mozilla Public License 2.0
339 stars 663 forks source link

provide terrafrom support for adding vpc worker pool zone attachment #3845

Open santhoshkumarmrpg opened 2 years ago

santhoshkumarmrpg commented 2 years ago

provider terrafrom support for adding vpc worker pool zone attachment

hkantare commented 2 years ago

As a end user I want to add a new worker to the desired worker zone in a desired zone. This is simialr to the resource which we have for classic cluster https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/container_worker_pool_zone_attachment

resource "ibm_container_vpc_worker_pool_zone_attachment" "test_zone" {
  cluster         = "<cluster id>"
  worker_pool     = "<worker pool id>
  zone            = "us-south-1"
  subnet_id = "<subnet-id>"
  //User can increase timeouts
  timeouts {
    create = "90m"
    update = "3h"
    delete = "30m"
  }
}