|
|
@@ -379,11 +379,24 @@ tabs:
|
|
|
required: true
|
|
|
placeholder: my-cluster
|
|
|
variable: cluster_name
|
|
|
+ - type: number-input
|
|
|
+ label: Maximum number of EC2 instances to create in the application autoscaling group.
|
|
|
+ variable: max_instances
|
|
|
+ placeholder: "ex: 10"
|
|
|
+ settings:
|
|
|
+ default: 10
|
|
|
- type: checkbox
|
|
|
variable: spot_instances_enabled
|
|
|
label: Enable spot instances for this cluster.
|
|
|
settings:
|
|
|
default: false
|
|
|
+ - name: spot_instance_price
|
|
|
+ show_if: spot_instances_enabled
|
|
|
+ contents:
|
|
|
+ - type: string-input
|
|
|
+ label: Assign a bid price for the spot instance (optional).
|
|
|
+ variable: spot_price
|
|
|
+ placeholder: "ex: 0.05"
|
|
|
`
|
|
|
|
|
|
const gcrForm = `name: GCR
|