Closed nitrocode closed 2 years ago
log_delivery_configuration
aws_elasticache_replication_group
Test this out in your infrastructure
module "cloudwatch_logs" { source = "cloudposse/cloudwatch-logs/aws" # Cloud Posse recommends pinning every module to a specific version # version = "x.x.x" context = module.this.context } module "redis" { # source = "cloudposse/elasticache-redis/aws" # Cloud Posse recommends pinning every module to a specific version # version = "x.x.x" source = "git::https://github.com/cloudposse/terraform-aws-elasticache-redis.git?ref=log_delivery" log_delivery_configuration = [ { destination = module.cloudwatch_logs.log_group_name destination_type = "cloudwatch-logs" log_format = "json" log_type = "engine-log" } ] context = module.this.context }
/test all
what
log_delivery_configuration
why
references
aws_elasticache_replication_group
Test
Test this out in your infrastructure