Skip to content

Commit

Permalink
Merge pull request #89 from james-nesbitt/PRODENG-1981
Browse files Browse the repository at this point in the history
PRODENG-1981 fix aws example passing type/vol-size to mods
  • Loading branch information
james-nesbitt authored Dec 6, 2022
2 parents a79dc21 + 9731aa3 commit ca0e887
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions examples/terraform/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ ssh_keys/
.terraform/
*terraform.tfstate*
*.tfvars
*.tfvars.json
.terraform.lock.hcl
10 changes: 8 additions & 2 deletions examples/terraform/aws/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ module "masters" {
cluster_name = var.cluster_name
subnet_ids = module.vpc.public_subnet_ids
security_group_id = module.common.security_group_id
master_type = var.master_type
master_volume_size = var.master_volume_size
image_id = module.common.image_id
kube_cluster_tag = module.common.kube_cluster_tag
ssh_key = var.cluster_name
Expand All @@ -37,6 +39,8 @@ module "msrs" {
subnet_ids = module.vpc.public_subnet_ids
security_group_id = module.common.security_group_id
image_id = module.common.image_id
msr_type = var.msr_type
msr_volume_size = var.msr_volume_size
kube_cluster_tag = module.common.kube_cluster_tag
ssh_key = var.cluster_name
instance_profile_name = module.common.instance_profile_name
Expand All @@ -50,10 +54,11 @@ module "workers" {
subnet_ids = module.vpc.public_subnet_ids
security_group_id = module.common.security_group_id
image_id = module.common.image_id
worker_type = var.worker_type
worker_volume_size = var.worker_volume_size
kube_cluster_tag = module.common.kube_cluster_tag
ssh_key = var.cluster_name
instance_profile_name = module.common.instance_profile_name
worker_type = var.worker_type
}

module "windows_workers" {
Expand All @@ -64,9 +69,10 @@ module "windows_workers" {
subnet_ids = module.vpc.public_subnet_ids
security_group_id = module.common.security_group_id
image_id = module.common.windows_2019_image_id
worker_type = var.worker_type
worker_volume_size = var.worker_volume_size
kube_cluster_tag = module.common.kube_cluster_tag
instance_profile_name = module.common.instance_profile_name
worker_type = var.worker_type
windows_administrator_password = var.windows_administrator_password
}

Expand Down

0 comments on commit ca0e887

Please sign in to comment.