Subject: | describe_instances fails when an instance has a tag with a key but no value |
Something simple like the boilerplate example under SYNOPSIS does not work if you have any
instance where the TAG has a KEY without a VALUE.
my $running_instances = $ec2->describe_instances;
The validation for the TagSet fails with something like:
Attribute (value) does not pass the type constraint because: Validation failed for 'Str' with value
undef at constructor Net::Amazon::EC2::TagSet::new (defined at
/usr/local/share/perl5/Net/Amazon/EC2/TagSet.pm line 32) line 38.
Net::Amazon::EC2::TagSet::new('Net::Amazon::EC2::TagSet', 'key', 'Name', 'value', undef)
called at /usr/local/share/perl5/Net/Amazon/EC2.pm line 1828
Net::Amazon::EC2::describe_instances(undef) called at ./list line 15