Merge pull request #40496 from rallytime/bp-40415

Back-port #40415 to 2016.11
This commit is contained in:
Nicole Thomas 2017-04-04 11:19:38 -06:00 committed by GitHub
commit a6291b17c1

View File

@ -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.')