Skip to content
This repository was archived by the owner on Oct 7, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions roles/aws/aws_vpc_route/tasks/route.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
ansible.builtin.set_fact:
_aws_vpc_route_route:
dest: "{{ route.destination_ipv6_cidr_block if route.destination_ipv6_cidr_block is defined else route.destination_cidr_block }}"
gateway_id: "{{ route.gateway_id | default(omit) }}"
nat_gateway_id: "{{ route.nat_gateway_id | default(omit) }}"
network_interface_id: "{{ route.network_interface_id | default(omit) }}"
transit_gateway_id: "{{ route.transit_gateway_id | default(omit) }}"
vpc_peering_connection_id: "{{ route.vpc_peering_connection_id | default(omit) }}"
instance_id: "{{ route.instance_id | default(omit) }}"
gateway_id: "{{ route.gateway_id | default(omit, true) }}"
nat_gateway_id: "{{ route.nat_gateway_id | default(omit, true) }}"
network_interface_id: "{{ route.network_interface_id | default(omit, true) }}"
transit_gateway_id: "{{ route.transit_gateway_id | default(omit, true) }}"
vpc_peering_connection_id: "{{ route.vpc_peering_connection_id | default(omit, true) }}"
instance_id: "{{ route.instance_id | default(omit, true) }}"

- name: Add route to the list.
ansible.builtin.set_fact:
Expand Down
Loading