Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
110 changes: 110 additions & 0 deletions examples/sample-input-optionalcas.tfvars
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
# !NOTE! - These are only a subset of CONFIG-VARS.md provided for sample.
# Customize this file to add any variables from 'CONFIG-VARS.md' that you want
# to change their default values.

# **************** REQUIRED VARIABLES ****************
# These required variables' values MUST be provided by the User
prefix = "<prefix-value>"
location = "<gcp-zone-or-region>" # e.g., "us-east1-b"
project = "<gcp-project-id>"
service_account_keyfile = "<service-account-json-file>"
#
# **************** REQUIRED VARIABLES ****************

# **************** RECOMMENDED VARIABLES ****************
default_public_access_cidrs = [] # e.g., ["123.45.6.89/32"]
ssh_public_key = "~/.ssh/id_rsa.pub"
# **************** RECOMMENDED VARIABLES ****************

# add labels to the created resources
tags = {} # e.g., { "key1" = "value1", "key2" = "value2" }

# Postgres config - By having this entry a database server is created. If you do not
# need an external database server remove the 'postgres_servers'
# block below.

postgres_servers = {
default = {},
},

# GKE config
kubernetes_version = "1.32"
default_nodepool_min_nodes = 2
default_nodepool_vm_type = "n2-highmem-8"

# Node Pools config
# **************** OPTIONAL CAS CONFIGURATION ****************
# This configuration is optimized for SAS Viya Programming-only deployments.
#
# Two options for making CAS optional:
# 1. Keep the cas block commented out (no CAS node pool created)
# - No CAS node pool created
# - CAS cannot be deployed without infrastructure changes
#
# ******************************************************************
node_pools = {
# cas = {
# "vm_type" = "n2-highmem-16"
# "os_disk_size" = 200
# "min_nodes" = 1
# "max_nodes" = 1
# "node_taints" = ["workload.sas.com/class=cas:NoSchedule"]
# "node_labels" = {
# "workload.sas.com/class" = "cas"
# }
# "local_ssd_count" = 2
# "accelerator_count" = 0
# "accelerator_type" = ""
# },
compute = {
"vm_type" = "n2-highmem-4"
"os_disk_size" = 200
"min_nodes" = 1
"max_nodes" = 1
"node_taints" = ["workload.sas.com/class=compute:NoSchedule"]
"node_labels" = {
"workload.sas.com/class" = "compute"
"launcher.sas.com/prepullImage" = "sas-programming-environment"
}
"local_ssd_count" = 1
"accelerator_count" = 0
"accelerator_type" = ""
},
stateless = {
"vm_type" = "n2-highmem-4"
"os_disk_size" = 200
"min_nodes" = 1
"max_nodes" = 4
"node_taints" = ["workload.sas.com/class=stateless:NoSchedule"]
"node_labels" = {
"workload.sas.com/class" = "stateless"
}
"local_ssd_count" = 0
"accelerator_count" = 0
"accelerator_type" = ""
},
stateful = {
"vm_type" = "n2-highmem-4"
"os_disk_size" = 200
"min_nodes" = 1
"max_nodes" = 2
"node_taints" = ["workload.sas.com/class=stateful:NoSchedule"]
"node_labels" = {
"workload.sas.com/class" = "stateful"
}
"local_ssd_count" = 0
"accelerator_count" = 0
"accelerator_type" = ""
}
}

# Jump Box
create_jump_public_ip = true
jump_vm_admin = "jumpuser"

# Storage for SAS Viya CAS/Compute
storage_type = "standard"
# required ONLY when storage_type is "standard" to create NFS Server VM
create_nfs_public_ip = false
nfs_vm_admin = "nfsuser"
nfs_raid_disk_size = 1000