mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix boto_vpc.create_route() to work with interface_id
Seems like it was broken in 4611a9c5
merge commit.
This commit is contained in:
parent
ac82972cb3
commit
f8b3006898
1 changed files with 1 additions and 1 deletions
|
@ -2283,7 +2283,7 @@ def create_route(route_table_id=None, destination_cidr_block=None,
|
|||
'must be provided.')
|
||||
|
||||
if not _exactly_one((gateway_id, internet_gateway_name, instance_id, interface_id, vpc_peering_connection_id,
|
||||
interface_id, nat_gateway_id, nat_gateway_subnet_id, nat_gateway_subnet_name)):
|
||||
nat_gateway_id, nat_gateway_subnet_id, nat_gateway_subnet_name)):
|
||||
raise SaltInvocationError('Only one of gateway_id, internet_gateway_name, instance_id, '
|
||||
'interface_id, vpc_peering_connection_id, nat_gateway_id, '
|
||||
'nat_gateway_subnet_id or nat_gateway_subnet_name may be provided.')
|
||||
|
|
Loading…
Add table
Reference in a new issue