lib/cloudstrap/amazon/ec2.rb in cloudstrap-0.33.1.pre vs lib/cloudstrap/amazon/ec2.rb in cloudstrap-0.34.0.pre

- old
+ new

@@ -208,10 +208,10 @@ key_name: Optional[String], client_token: Optional[String], network_interfaces: Optional[ArrayOf[Hash]] ] => ::Aws::EC2::Types::Instance def create_instance(**properties) - call_api(:run_instances, properties.merge(min_count: 1, max_count: 2)).instances.first + call_api(:run_instances, properties.merge(min_count: 1, max_count: 1)).instances.first .tap { instances! } end Contract None => ArrayOf[::Aws::EC2::Types::Image] def images