Commit c140a710 authored by Ahmad's avatar Ahmad

inikt

parent 576c77ac
Pipeline #213 canceled with stages
...@@ -56,6 +56,7 @@ async function getLightsailInstances(region, credentials) { ...@@ -56,6 +56,7 @@ async function getLightsailInstances(region, credentials) {
try { try {
const instances = await lightsail.getInstances({}).promise(); const instances = await lightsail.getInstances({}).promise();
console.log(instances)
return instances.instances; return instances.instances;
} catch (err) { } catch (err) {
console.error(`Error fetching instances in region ${region}:`, err.message); console.error(`Error fetching instances in region ${region}:`, err.message);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment