From 7ae4cf69c1c1178a9bac718d9af32abe2ca1909f Mon Sep 17 00:00:00 2001 From: Mark Chappell Date: Fri, 28 Aug 2020 22:11:42 +0200 Subject: [PATCH] ec2_metrix_alarm test - Create the instance in the subnet we just created not the default VPC --- tests/integration/targets/ec2_metric_alarm/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/integration/targets/ec2_metric_alarm/tasks/main.yml b/tests/integration/targets/ec2_metric_alarm/tasks/main.yml index 00705636448..102747f48a8 100644 --- a/tests/integration/targets/ec2_metric_alarm/tasks/main.yml +++ b/tests/integration/targets/ec2_metric_alarm/tasks/main.yml @@ -46,6 +46,7 @@ tags: TestId: "{{ resource_prefix }}" security_groups: "{{ sg.group_id }}" + vpc_subnet_id: "{{ testing_subnet_a.subnet.id }}" instance_type: t2.micro wait: true register: ec2_instance_results