Skip to content

Commit ca0e887

Browse files
Merge pull request #89 from james-nesbitt/PRODENG-1981
PRODENG-1981 fix aws example passing type/vol-size to mods
2 parents a79dc21 + 9731aa3 commit ca0e887

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

examples/terraform/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ ssh_keys/
44
.terraform/
55
*terraform.tfstate*
66
*.tfvars
7+
*.tfvars.json
78
.terraform.lock.hcl

examples/terraform/aws/main.tf

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ module "masters" {
2323
cluster_name = var.cluster_name
2424
subnet_ids = module.vpc.public_subnet_ids
2525
security_group_id = module.common.security_group_id
26+
master_type = var.master_type
27+
master_volume_size = var.master_volume_size
2628
image_id = module.common.image_id
2729
kube_cluster_tag = module.common.kube_cluster_tag
2830
ssh_key = var.cluster_name
@@ -37,6 +39,8 @@ module "msrs" {
3739
subnet_ids = module.vpc.public_subnet_ids
3840
security_group_id = module.common.security_group_id
3941
image_id = module.common.image_id
42+
msr_type = var.msr_type
43+
msr_volume_size = var.msr_volume_size
4044
kube_cluster_tag = module.common.kube_cluster_tag
4145
ssh_key = var.cluster_name
4246
instance_profile_name = module.common.instance_profile_name
@@ -50,10 +54,11 @@ module "workers" {
5054
subnet_ids = module.vpc.public_subnet_ids
5155
security_group_id = module.common.security_group_id
5256
image_id = module.common.image_id
57+
worker_type = var.worker_type
58+
worker_volume_size = var.worker_volume_size
5359
kube_cluster_tag = module.common.kube_cluster_tag
5460
ssh_key = var.cluster_name
5561
instance_profile_name = module.common.instance_profile_name
56-
worker_type = var.worker_type
5762
}
5863

5964
module "windows_workers" {
@@ -64,9 +69,10 @@ module "windows_workers" {
6469
subnet_ids = module.vpc.public_subnet_ids
6570
security_group_id = module.common.security_group_id
6671
image_id = module.common.windows_2019_image_id
72+
worker_type = var.worker_type
73+
worker_volume_size = var.worker_volume_size
6774
kube_cluster_tag = module.common.kube_cluster_tag
6875
instance_profile_name = module.common.instance_profile_name
69-
worker_type = var.worker_type
7076
windows_administrator_password = var.windows_administrator_password
7177
}
7278

0 commit comments

Comments
 (0)