enh aws rds discovery

This commit is contained in:
Colin Gagnaire 2019-10-15 10:33:19 +02:00
parent 8cea2ae071
commit de1997c47b
1 changed files with 6 additions and 0 deletions

View File

@ -68,6 +68,12 @@ sub run {
$rds{instance_class} = $db_instance->{DBInstanceClass};
$rds{availability_zone} = $db_instance->{AvailabilityZone};
$rds{vpc_id} = $db_instance->{DBSubnetGroup}->{VpcId};
$rds{engine} = $db_instance->{Engine};
$rds{engine_version} = $db_instance->{EngineVersion};
$rds{db_name} = $db_instance->{DBName};
$rds{endpoint_host_zone_id} = $db_instance->{Endpoint}->{HostedZoneId};
$rds{endpoint_port} = $db_instance->{Endpoint}->{Port};
$rds{endpoint_address} = $db_instance->{Endpoint}->{Address};
push @disco_data, \%rds;
}