enhance gcp cloudsql mysql discovery

This commit is contained in:
garnier-quentin 2021-02-04 15:35:54 +01:00
parent a9030f0420
commit 471b585db4
1 changed files with 2 additions and 0 deletions

View File

@ -56,6 +56,8 @@ sub run {
next if ($instance->{databaseVersion} !~ /mysql/i);
my $item = {};
$item->{name} = $instance->{name};
$item->{database_id} = $instance->{project} . ':' . $instance->{name};
$item->{project} = $instance->{project};
$item->{version} = $instance->{databaseVersion};
$item->{state} = $instance->{state};
$item->{region} = $instance->{region};