Skip to content

Commit

Permalink
migration test cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jillr authored and alinabuzachis committed Jul 14, 2021
1 parent accaf5a commit be922c0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
9 changes: 7 additions & 2 deletions plugins/modules/ec2_vpc_igw_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,13 @@
pass # will be captured by imported HAS_BOTO3

from ansible.module_utils.basic import AnsibleModule
from ansible_collections.ansible.amazon.plugins.module_utils.ec2 import (ec2_argument_spec, get_aws_connection_info, boto3_conn,
camel_dict_to_snake_dict, ansible_dict_to_boto3_filter_list, HAS_BOTO3)
from ansible_collections.ansible.amazon.plugins.module_utils.ec2 import (ec2_argument_spec,
get_aws_connection_info,
boto3_conn,
camel_dict_to_snake_dict,
ansible_dict_to_boto3_filter_list,
HAS_BOTO3,
)


def get_internet_gateway_info(internet_gateway):
Expand Down
6 changes: 5 additions & 1 deletion tests/integration/targets/ec2_vpc_igw/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
---
- block:
- name: ec2_vpc_igw tests
collections:
- ansible.amazon

block:
- name: set up aws connection info
set_fact:
aws_connection_info: &aws_connection_info
Expand Down

0 comments on commit be922c0

Please sign in to comment.