diff --git a/.gitpod.yml b/.gitpod.yml index c083eb5..ae5b73d 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -17,6 +17,8 @@ tasks: command: source ./install-kubectl.sh - name: Install Terraform command: source ./install-terraform.sh + - name: Install Dynamodb + command: source ./install-dynamodb-local.sh - name: Install Visual Studio Code extensions command: source ./install-vsextensions.sh vscode: @@ -24,8 +26,7 @@ vscode: - ms-python.python - aws-toolkit-vscode.aws-toolkit-vscode - ms-mssql.mssql - - amazon-dynamodb.aws-dynamodb-toolkit - + - amazon-dynamodb.aws-dynamodb-toolkit github: prebuilds: master: true diff --git a/install-dynamodb-local.sh b/install-dynamodb-local.sh new file mode 100644 index 0000000..eaaa974 --- /dev/null +++ b/install-dynamodb-local.sh @@ -0,0 +1,23 @@ + +#!/bin/bash + + +echo "Installing Java" +brew install openjdk + +echo "java is installed sucessfully.... :) " +echo " " +echo " " + +mkdir ./dynamolocal && cd ./dynamolocal + + +echo "Downloading the DynamoDB tar file" +wget http://dynamodb-local.s3-website-us-west-2.amazonaws.com/dynamodb_local_latest.tar.gz +tar xzf dynamodb_local_latest.tar.gz +rm -f dynamodb_local_latest.tar.gz + +echo " " +echo "Dynamodb-local is installed and ready for use.... :) " + + \ No newline at end of file diff --git a/main.sh b/main.sh index 12f38c3..2f8a6ed 100755 --- a/main.sh +++ b/main.sh @@ -6,3 +6,4 @@ source ./setup-env-variables.sh ./open-cloud-dashboards.sh source ./install-kubectl.sh source ./install-terraform.sh +source ./install-dynamodb-local.sh \ No newline at end of file