• python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Facebook Twitter Instagram
Devs Fixed
  • python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Devs Fixed
Home ยป Resolved: terraform that creates single aurora cluster and schedules cluster to run during business hours

Resolved: terraform that creates single aurora cluster and schedules cluster to run during business hours

0
By Isaac Tonny on 18/06/2022 Issue
Share
Facebook Twitter LinkedIn

Question:

Sorry I am a beginner at terraform and found some useful modules. I need to make a single aurora instance cluster for non-production and I need to shutdown after business hours.
how can I create an aurora cluster and schedule to run during business hours???
I can’t get the scheduler to connect to the RDS cluster

Answer:

I guess the issue is with rds_identifier value used under module “rds_schedule”
rds_identifier = module.cluster.identifier
It should be, rds_identifier = module.cluster.cluster_id
The source module for the aurora cluster used here “terraform-aws-modules/rds-aurora/aws” outputs the cluster identifier as cluster_id not cluster_identifier
Github Reference:
https://registry.terraform.io/modules/terraform-aws-modules/rds-aurora/aws/latest#outputs

If you have better answer, please add a comment about this, thank you!

terraform-provider-aws
Share. Facebook Twitter LinkedIn

Related Posts

Resolved: Java Swing center JLabel in JPanel with two JLabels

27/03/2023

Resolved: How to compare two text files and and change the sign of the data in powershell?

27/03/2023

Resolved: Java Virtual Machines deleted

27/03/2023

Leave A Reply

© 2023 DEVSFIX.COM

Type above and press Enter to search. Press Esc to cancel.