Integrate build and deploy , on terraform

Job ID: 32351292

Budget: $30 – $250 USD

hello
im having a nodejs app on git source code,
i want to build/deploy the code to s3 over terraform script


=============
resource "null_resource" "build" {
triggers = {
always_run = "${timestamp()}"
}
provisioner "local-exec" {
command = <<-EOF
cd ${path.module}/.. &&\
mkdir ./node_install &&\
cd ./node_install &&\
curl https://nodejs.org/dist/latest-v10.x/node-v10.19.0-linux-x64.tar.gz | tar xz --strip-components=1 &&\
export PATH="$PWD/bin:$PATH" &&\
cd .. &&\
npm install &&\
npm run build
EOF
}
}
=========================
100% terraform script
no external tools needed ex(jenkins/ansible .... )
if you have a good experience on Ci/CD / terraform , please bid
thanks
Related categories: Python Linux Amazon Web Services Node.js CI/CD