Home > Net >  How to enable slow log of AWS ElastiCache with terraform
How to enable slow log of AWS ElastiCache with terraform

Time:11-17

Can I enable slow log of AWS ElastiCache with Teraform?

Checked below page, but the parameter didn’t exist. https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/elasticache_cluster

I want to enable the logging setting of following image.

enter image description here

CodePudding user response:

If its not directly supported by TF, then you can use local-exec to run AWS CLI which will enable the logs for you.

  • Related