https://github.com/epomatti/aws-eventbridge-scheduler
Stopping and starting an RDS instance automatically using EventBridge scheduler
https://github.com/epomatti/aws-eventbridge-scheduler
aws eventbridge eventbridge-scheduler rds rds-enhanced-monitoring terraform
Last synced: 7 months ago
JSON representation
Stopping and starting an RDS instance automatically using EventBridge scheduler
- Host: GitHub
- URL: https://github.com/epomatti/aws-eventbridge-scheduler
- Owner: epomatti
- License: mit
- Created: 2023-07-10T01:16:26.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-25T03:40:39.000Z (over 1 year ago)
- Last Synced: 2025-01-17T18:34:53.032Z (9 months ago)
- Topics: aws, eventbridge, eventbridge-scheduler, rds, rds-enhanced-monitoring, terraform
- Language: HCL
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AWS EventBridge Scheduler
Create an RDS PostgreSQL instance to test EventBridge scheduler with stop/start RDS actions.
Create the `.auto.tfars` file. Edit as needed.
```terraform
aws_region = "sa-east-1"
stop_cron = "0 23 ? * * *"
start_cron = "20 23 ? * * *"
timezone = "America/Sao_Paulo"
```This recipe requires a default VPC to create the RDS instance.