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
- Host: GitHub
- URL: https://github.com/leonardovff/terraform-node
- Owner: leonardovff
- Created: 2023-11-04T08:03:45.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-05T09:10:30.000Z (over 2 years ago)
- Last Synced: 2025-02-04T09:48:24.838Z (about 1 year ago)
- Topics: aws, dynamic-dns, lambda, no-ip, nodejs, sqs-queue, terraform
- Language: HCL
- Homepage:
- Size: 74.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```