Commit cab090ea authored by Ahmad's avatar Ahmad

inikt

parent e5d6edbd
...@@ -48,9 +48,9 @@ async function checkInstanceExists(lightsail, instanceName) { ...@@ -48,9 +48,9 @@ async function checkInstanceExists(lightsail, instanceName) {
// Function to create a single Lightsail instance // Function to create a single Lightsail instance
async function createLightsailInstance(lightsail, region, instanceName) { async function createLightsailInstance(lightsail, region, instanceName) {
let zone='' let zone=''
if (region ==='us-east-2') // if (region ==='us-east-2')
zone=`${region}b` // zone=`${region}b`
else // else
zone=`${region}a` zone=`${region}a`
const instanceParams = { const instanceParams = {
blueprintId: 'ubuntu_20_04', // Ubuntu 20.04 blueprintId: 'ubuntu_20_04', // Ubuntu 20.04
......
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