An open API service indexing awesome lists of open source software.

https://github.com/leonardovff/terraform-node

Turn on or turn off an aws EC2 instance based on the time, using terraform and aws lambda trigger by time
https://github.com/leonardovff/terraform-node

aws dynamic-dns lambda no-ip nodejs sqs-queue terraform

Last synced: 12 months ago
JSON representation

Turn on or turn off an aws EC2 instance based on the time, using terraform and aws lambda trigger by time

Awesome Lists containing this project

README

          

## Turn on or turn a aws EC2 instance based on the time, using terraform and aws lambda trigger by time

### Set the AWS environment variables
```bash
export AWS_ACCESS_KEY_ID="set-here-the-aws-access-key-id"
export AWS_SECRET_ACCESS_KEY="set-here-the-secret-key"
```

### Deploy to production
```bash
bash deploy.sh
```