Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slow log enablement #34

Open
nsudhakar-devcloud opened this issue Apr 2, 2025 · 0 comments
Open

Slow log enablement #34

nsudhakar-devcloud opened this issue Apr 2, 2025 · 0 comments

Comments

@nsudhakar-devcloud
Copy link

nsudhakar-devcloud commented Apr 2, 2025

Is your request related to a new offering from AWS?

Is this functionality available in the AWS provider for Terraform? See CHANGELOG.md, too.

  • Yes, this functionality is available in the AWS provider for Terraform. However, currently, enabling log delivery results in the recreation of the log group.

Is your request related to a problem? Please describe.

When enabling slow logs for Valkey, the existing Terraform module forces the recreation of the CloudWatch log group. This disrupts existing logs and causes downtime in log collection, which is not ideal for production environments.

Describe the solution you'd like.

The module should allow enabling slow logs without requiring the recreation of the log group. Instead, it should update the log delivery settings while preserving the existing log group.

Describe alternatives you've considered.

Manually modifying the log group outside Terraform, which is not a sustainable approach for infrastructure as code.

Using AWS Console to enable slow logging, but this goes against the Terraform-managed infrastructure principle.

Additional context

terraform is failed for the slow log enablement saying that log group already exists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant