Skip Menu |

This queue is for tickets about the VM-EC2 CPAN distribution.

Report information
The Basics
Id: 81880
Status: resolved
Priority: 0/
Queue: VM-EC2

People
Owner: LDS [...] cpan.org
Requestors: mak.milvus.md [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: [UnknownParameter] The parameter PrivateIPAddress is not recognized
hi, I encountered the UnknownParameter error when launching instances with run_instances method with a '-privat_ip_address' parameter. Here is a patch to fix the problem. With the patch, I can launch a new instance with a private ip address in a VPC.
Subject: VM-EC2.patch
--- EC2.pm.orig 2012-11-28 12:13:23.000000000 +0000 +++ EC2.pm 2012-12-11 07:10:01.483691817 +0000 @@ -1129,7 +1129,7 @@ $args{-availability_zone} ||= $args{-placement_zone}; my @p = map {$self->single_parm($_,\%args) } - qw(ImageId MinCount MaxCount KeyName KernelId RamdiskId PrivateIPAddress + qw(ImageId MinCount MaxCount KeyName KernelId RamdiskId PrivateIpAddress InstanceInitiatedShutdownBehavior ClientToken SubnetId InstanceType); push @p,map {$self->list_parm($_,\%args)} qw(SecurityGroup SecurityGroupId); push @p,('UserData' =>encode_base64($args{-user_data},'')) if $args{-user_data};
Thanks! This patch will appear in version 1.21.