Просмотр исходного кода

Configure the extra options API call for Stackit

Changing the target project did not re-list the destination options,
because Stackit had no `extraOptionsApiCalls` entry. `availability_zone`
is its only prerequisite, and `project` scopes every resource the
provider lists, so it belongs in `relistFields`.

Signed-off-by: Mihaela Balutoiu <mbalutoiu@cloudbasesolutions.com>
Mihaela Balutoiu 6 дней назад
Родитель
Сommit
51c8f95282
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      config.ts

+ 6 - 0
config.ts

@@ -147,6 +147,12 @@ const conf: Config = {
       requiredFields: ["zone"],
       relistFields: ["linux_template", "windows_template"],
     },
+    {
+      name: "stackit",
+      types: ["destination"],
+      requiredFields: ["availability_zone"],
+      relistFields: ["project"],
+    },
   ],
 
   /*