Skip to content

redeux/terraform-run-task-hello-world-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-run-task-hello-world-nodejs

A Terraform Cloud Run Task Hello World in Node.js

This is a basic implementation of a Terraform Cloud Run Task in Node.js. Run easily with NGROK or in Heroku.

Getting Started Locally

Make sure you have Node.js v16.x and NPM v8.6. You can find the Node.js and NPM installation instructions here.

node -v
npm -v

Install the Run Task server dependencies

npm install

Start the Run Task server

npm start

NOTE: By default, the service will start using port 3000 and using an HMAC key of abc123. These can be set using the environment variables PORT and HMAC_KEY respectively.

Start NGROK using the port you specified

ngrok http $PORT

About

A Terraform Cloud Run Task Hello World in Node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published