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!