diff --git a/cloud/amazon/ec2.py b/cloud/amazon/ec2.py index 3b2e59577d6..420fac28f5f 100644 --- a/cloud/amazon/ec2.py +++ b/cloud/amazon/ec2.py @@ -358,6 +358,13 @@ EXAMPLES = ''' vpc_subnet_id: subnet-29e63245 assign_public_ip: yes +# Example using pre-existing network interfaces +- ec2: + key_name: mykey + instance_type: t2.small + image: ami-f005ba11 + network_interfaces: ['eni-deadbeef', 'eni-5ca1ab1e'] + # Launch instances, runs some tasks # and then terminate them