NAOKI
NAOKI

Reputation: 11

How to enable slow log of AWS ElastiCache with terraform

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

Upvotes: 0

Views: 1821

Answers (1)

Marcin
Marcin

Reputation: 238687

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

Upvotes: 1

Related Questions