| 1234567891011121314151617181920212223 | provider "aws" {  region  = "${var.region}"  profile = "${var.profile}"}# Allow us to configure volumeslocals {  count_volumes = (var.enable-volumes == true ? var.data-node-count : 0)}# Allow us to enable flash deviceslocals {  count_flash = (var.enable-flash == true ? var.data-node-count : 0)}locals {  ssh_key_path = (var.ssh-key == "" ? "~/.ssh/${var.vpc-name}.pem" : "~/.ssh/${replace(var.ssh-key, ".pem", "")}.pem")}locals {  ssh_key= (var.ssh-key == "" ? var.vpc-name : replace(var.ssh-key, ".pem", ""))}
 |