Skip to content

Commit 78d94b5

Browse files
authored
Update eks_nodegroup test to use t3a.micro (#2122)
SUMMARY t3.micro's been having capacity issues, bump the eks_nodegroup integration tests over to t3a.micro which seems to be doing better. ISSUE TYPE Bugfix Pull Request COMPONENT NAME eks_nodegroup ADDITIONAL INFORMATION Reviewed-by: Alina Buzachis
1 parent 4752c05 commit 78d94b5

File tree

4 files changed

+8
-12
lines changed

4 files changed

+8
-12
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
cloud/aws
1+
cloud/aws
2+
time=55m

tests/integration/targets/eks_nodegroup/tasks/dependecies.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -95,16 +95,10 @@
9595

9696
# Dependecies to test eks nodegroup with launch_template
9797
- name: create instance template
98-
ec2_launch_template:
99-
name: "{{ resource_prefix }}-simple"
100-
instance_type: t3.nano
101-
register: lt_default
102-
103-
- name: update simple instance template
10498
ec2_launch_template:
10599
name: "{{ resource_prefix }}-simple"
106100
default_version: 1
107-
instance_type: t3.micro
101+
instance_type: t3a.micro
108102
register: lt
109103

110104
- name: Create securitygroup for node access

tests/integration/targets/eks_nodegroup/tasks/full_test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
ec2_ssh_key: "{{ ec2_key_eks_nodegroup.key.name }}"
8585
source_sg:
8686
- "{{ securitygroup_eks_nodegroup.group_id }}"
87-
wait: True
87+
wait: False
8888
register: eks_nodegroup_result
8989
check_mode: True
9090

@@ -123,6 +123,7 @@
123123
source_sg:
124124
- "{{ securitygroup_eks_nodegroup.group_id }}"
125125
wait: True
126+
wait_timeout: 1500
126127
register: eks_nodegroup_result
127128

128129
- name: check that eks_nodegroup is created
@@ -463,7 +464,7 @@
463464
subnets: '{{ setup_subnets.results | map(attribute=''subnet.id'') }}'
464465
launch_template:
465466
name: '{{ lt.template.launch_template_name }}'
466-
wait: True
467+
wait: False
467468
register: eks_nodegroup_result
468469
check_mode: True
469470

tests/integration/targets/eks_nodegroup/tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
- name: 'eks_nodegroup integration tests'
33
collections:
44
- amazon.aws
5-
- amozon.community
5+
- amazon.community
66
module_defaults:
77
group/aws:
88
access_key: '{{ aws_access_key }}'
@@ -13,4 +13,4 @@
1313
- include_tasks: dependecies.yml
1414
- include_tasks: full_test.yml
1515
always:
16-
- include_tasks: cleanup.yml
16+
- include_tasks: cleanup.yml

0 commit comments

Comments
 (0)