fixed region for extra757 and extra758

This commit is contained in:
Toni de la Fuente
2019-10-13 19:05:57 +02:00
parent fc77b4a55e
commit 40a2ea6c90
2 changed files with 6 additions and 6 deletions

View File

@@ -28,13 +28,13 @@ extra757(){
do
EC2_ID=$(echo "$ec2_instace" | awk '{print $1}')
LAUNCH_DATE=$(echo "$ec2_instace" | awk '{print $2}')
textFail "$regx: EC2 Instance $EC2_ID running before than $OLDAGE"
textFail "$regx: EC2 Instance $EC2_ID running before than $OLDAGE" "$regx"
done <<< "$INSTACES_OLD_THAN_AGE"
else
textPass "All Instances newer than 6 months"
textPass "$regx: All Instances newer than 6 months" "$regx"
fi
else
textInfo "No EC2 Instances Found"
textInfo "$regx: No EC2 Instances Found" "$regx"
fi
done
}

View File

@@ -28,13 +28,13 @@ extra758(){
do
EC2_ID=$(echo "$ec2_instace" | awk '{print $1}')
LAUNCH_DATE=$(echo "$ec2_instace" | awk '{print $2}')
textFail "$regx: EC2 Instance $EC2_ID running before than $OLDAGE"
textFail "$regx: EC2 Instance $EC2_ID running before than $OLDAGE" "$regx"
done <<< "$INSTACES_OLD_THAN_AGE"
else
textPass "All Instances newer than 12 months"
textPass "$regx: All Instances newer than 12 months" "$regx"
fi
else
textInfo "No EC2 Instances Found"
textInfo "$regx: No EC2 Instances Found" "$regx"
fi
done
}