Procházet zdrojové kódy

Merge pull request #2450 from porter-dev/belanger/add-az-option

Update EKS form to support setting `azs` manually
abelanger5 před 3 roky
rodič
revize
a09b5988e0
1 změnil soubory, kde provedl 13 přidání a 0 odebrání
  1. 13 0
      api/server/handlers/infra/forms.go

+ 13 - 0
api/server/handlers/infra/forms.go

@@ -625,6 +625,19 @@ tabs:
       variable: additional_private_subnets_multiplicity
       settings:
         default: 3
+  - name: net_settings_azs_toggle
+    contents:
+    - type: checkbox
+      label: "Specify the AZs to provision this cluster in."
+      variable: specify_azs
+      settings:
+        default: false
+  - name: net_settings_azs
+    show_if: specify_azs
+    contents:
+    - type: array-input
+      variable: azs
+      label: Availability Zones
   - name: nginx_settings
     contents:
     - type: heading