<commit_before>#!/bin/sh

. ~/Repos/Scripts/bash/common/ec2.sh

region=$1
initializeRegion

node_id=$2

if [[ $node_id == "" ]]; then
    message red "ERROR" "Node ID (2nd parameter) was not specified. "
    exit
fi

cd ~/Repos/Chef/

knife ec2 server delete ${node_id} --region ${region} --purge

message green "SUCCESS" "EC2 instance with ID: \033[33m${node_id}\033[0m on \033[33m${region}\033[0m was successfully deleted. All associated Chef node & clients were also removed."

exit<commit_msg>Removed success message from ec2-delete script.<commit_after>#!/bin/sh

. ~/Repos/Scripts/bash/common/ec2.sh

region=$1
initializeRegion

node_id=$2

if [[ $node_id == "" ]]; then
    message red "ERROR" "Node ID (2nd parameter) was not specified. "
    exit
fi

cd ~/Repos/Chef/

knife ec2 server delete ${node_id} --region ${region} --purge

exit
{'fraction_non_alphanumeric': 0.1467455621301775, 'fraction_numerical': 0.03550295857988166, 'mean_word_length': 3.8901734104046244, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6473707', 'n_tokens_mistral': 320, 'n_tokens_neox': 304, 'n_words': 87}