<commit_before>#!/bin/bash
aws_secret_access_key=`tr -d '\n' < ~/.aws/credentials | sed -e 's/\[/\n[/g'|grep default|sed -e 's/\[default\]//g' -e 's/aws_secret_access_key/\naws_secret_access_key/g' -e  's/ //g' |grep aws_secret_access_key| cut -d'=' -f2`
aws_access_key=`tr -d '\n' < ~/.aws/credentials | sed -e 's/\[/\n[/g'|grep default|sed -e 's/\[default\]//g' -e 's/aws_secret_access_key/\naws_secret_access_key/g' -e  's/ //g'| grep "aws_access_key" |cut -d'=' -f2`
sed -i "s/AWS_ACCESS_KEY=.*.$/AWS_ACCESS_KEY=$aws_access_key/g" ../cookbooks/jenkins/files/credentials/aws.sh
sed -i "s|AWS_SECRET_KEY=.*.$|AWS_SECRET_KEY=$aws_secret_access_key|g" ../cookbooks/jenkins/files/credentials/aws.sh
date
terraform apply
date
echo " ======================================================="
echo " The following Stack has been created in AWS"
echo " ________________________________________________"
terraform state list
echo " ======================================================="
echo "Please use the following values for checking out JAZZ"
echo " ________________________________________________"
cat ./settings.txt
echo " ======================================================="
<commit_msg>Update create.sh<commit_after>#!/bin/bash
aws_secret_access_key=`tr -d '\n' < ~/.aws/credentials | sed -e 's/\[/\n[/g'|grep default|sed -e 's/\[default\]//g' -e 's/aws_secret_access_key/\naws_secret_access_key/g' -e  's/ //g' |grep aws_secret_access_key| cut -d'=' -f2`
aws_access_key=`tr -d '\n' < ~/.aws/credentials | sed -e 's/\[/\n[/g'|grep default|sed -e 's/\[default\]//g' -e 's/aws_secret_access_key/\naws_secret_access_key/g' -e  's/ //g'| grep "aws_access_key" |cut -d'=' -f2`
sed -i "s/AWS_ACCESS_KEY=.*.$/AWS_ACCESS_KEY=$aws_access_key/g" ../cookbooks/jenkins/files/credentials/aws.sh
sed -i "s|AWS_SECRET_KEY=.*.$|AWS_SECRET_KEY=$aws_secret_access_key|g" ../cookbooks/jenkins/files/credentials/aws.sh
date
terraform apply
date
echo " ======================================================="
echo " The following Stack has been created in AWS"
echo " ________________________________________________"
terraform state list
echo " ======================================================="
echo "Please use the following values for checking out JAZZ"
echo " ________________________________________________"
cat ./settings.txt
echo " ======================================================="
echo " Once checkout is done Please execute nohup ./destroy.sh & in the following directory . This will cleanup the entire Stack"
pwd
echo " ======================================================="


{'fraction_non_alphanumeric': 0.28973765432098764, 'fraction_numerical': 0.0015432098765432098, 'mean_word_length': 5.4183168316831685, 'pattern_counts': {'":': 0, '<': 7, '<?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': '4741598', 'n_tokens_mistral': 880, 'n_tokens_neox': 832, 'n_words': 186}