diff --git a/changelogs/fragments/20240919-sanity_fixes_devel.yml b/changelogs/fragments/20240919-sanity_fixes_devel.yml new file mode 100644 index 00000000000..951ec8f7649 --- /dev/null +++ b/changelogs/fragments/20240919-sanity_fixes_devel.yml @@ -0,0 +1,2 @@ +trivial: + - "Fix sanity errors occurring with the devel branch of ansible." diff --git a/plugins/modules/ec2_vpc_endpoint.py b/plugins/modules/ec2_vpc_endpoint.py index 2ac7df38376..4da5fde75b0 100644 --- a/plugins/modules/ec2_vpc_endpoint.py +++ b/plugins/modules/ec2_vpc_endpoint.py @@ -419,6 +419,7 @@ def create_vpc_endpoint(client, module): def setup_removal(client, module): params = dict() + result = {} changed = False if module.check_mode: diff --git a/plugins/modules/ec2_vpc_route_table.py b/plugins/modules/ec2_vpc_route_table.py index 57db93cdb91..e02e951ce14 100644 --- a/plugins/modules/ec2_vpc_route_table.py +++ b/plugins/modules/ec2_vpc_route_table.py @@ -763,6 +763,7 @@ def ensure_route_table_present(connection, module): changed = False tags_valid = False + route_table = None if lookup == "tag": if tags is not None: