Skip to content

Commit

Permalink
refactro: neptune extension
Browse files Browse the repository at this point in the history
  • Loading branch information
lterrac committed Sep 15, 2022
1 parent dbd9c82 commit 9746ec4
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
30 changes: 15 additions & 15 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module "master_region" {
master = true
master_instance_type = "c5.4xlarge"
worker_instance_type = "c5.xlarge"
cpu_instances = 3
cpu_instances = 1
gpu_instances = 0
ssh_private_key_path = var.SSH_PRIVATE_KEYPATH
SSH_PUBLIC_KEYPATH = var.SSH_PUBLIC_KEYPATH
Expand All @@ -15,19 +15,19 @@ module "master_region" {
aws_credentials_filepath = var.AWS_CREDENTIALS_FILEPATH
}

module "workers_region" {
source = "./modules/regional_cluster"
# module "workers_region" {
# source = "./modules/regional_cluster"

region = "us-east-1"
master = false
worker_instance_type = "c5.xlarge"
cpu_instances = 3
gpu_instances = 0
ssh_private_key_path = var.SSH_PRIVATE_KEYPATH
SSH_PUBLIC_KEYPATH = var.SSH_PUBLIC_KEYPATH
az_per_region = var.az_per_region
master_ip = module.master_region.master_endpoint
cluster_secret = module.master_region.cluster_secret
# region = "us-east-1"
# master = false
# worker_instance_type = "c5.xlarge"
# cpu_instances = 3
# gpu_instances = 0
# ssh_private_key_path = var.SSH_PRIVATE_KEYPATH
# SSH_PUBLIC_KEYPATH = var.SSH_PUBLIC_KEYPATH
# az_per_region = var.az_per_region
# master_ip = module.master_region.master_endpoint
# cluster_secret = module.master_region.cluster_secret

aws_credentials_filepath = var.AWS_CREDENTIALS_FILEPATH
}
# aws_credentials_filepath = var.AWS_CREDENTIALS_FILEPATH
# }
6 changes: 3 additions & 3 deletions output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ output "master_region_nodes" {
value = module.master_region.workers_endpoint
}

output "workers_region_nodes" {
value = module.workers_region.workers_endpoint
}
# output "workers_region_nodes" {
# value = module.workers_region.workers_endpoint
# }

0 comments on commit 9746ec4

Please sign in to comment.