Skip to content

Commit

Permalink
adding nuki logic [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
robcxyz committed Aug 10, 2020
1 parent e4fb4a4 commit d677311
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions nuki.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ print_:
type: print
statement: Configuring Polkadot GCP Auto-Scaling Group

###############
# Instance Type
###############
instance_family_:
type: select
# TODO: Make sure the instances are available in the region
Expand All @@ -26,6 +29,9 @@ instance_type:
message: What type of data instances do you want to create?
choices: "{{ nuki.gcp_available_instances_ }}"

#############
# Autoscaling
#############
autoscale_enabled:
type: confirm
message: Do you want to enable autoscaling?
Expand All @@ -48,6 +54,10 @@ max_instances:
default: 10
when: "{{ nuki.autoscale_enabled }}"

use_lb:
type: confirm
message: Do you want to create a load balancer?

#tf_variables_:
# type: terraform_variables
# variables_file: variables.tf
Expand Down

0 comments on commit d677311

Please sign in to comment.