Skip to content

Fix import of k8s_pool #2285

Closed
Closed
@remyleone

Description

@remyleone
terraform {
  required_providers {
    scaleway = {
      source = "scaleway/scaleway"
    }
  }
  required_version = ">= 0.13"
}

import {
  id = "fr-par/0819d779-ade0-4b32-9b24-bab8c5284944"
  to = scaleway_k8s_pool.foobar
}
terraform plan -generate-config-out=generated.tf
resource "scaleway_k8s_pool" "foobar" {
  autohealing            = false
  autoscaling            = true
  cluster_id             = "fr-par/7b18357b-9c0a-46ea-af9a-5427d97f17c2"
  container_runtime      = "containerd"
  kubelet_args           = {}
  max_size               = 10
  min_size               = 1
  name                   = "cli-pool-silly-kapitsa"
  node_type              = "dev1_m"
  placement_group_id     = null
  public_ip_disabled     = false
  region                 = null # TO FILL
  root_volume_size_in_gb = null # TO FILL
  root_volume_type       = null # TO FILL
  size                   = null # TO FILL
  tags                   = ["bonjour", "coucou"]
  wait_for_pool_ready    = null
  zone                   = "fr-par-1"
  upgrade_policy {
    max_surge       = 0
    max_unavailable = 1
  }
}

Metadata

Metadata

Assignees

Labels

k8sKubernetes Kapsule issues, bugs and feature requestspriority:highestBugs filled by customers, security issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions