terraform-aws-elasticache-redis
terraform-aws-elasticache-redis copied to clipboard
Allow passing in a map of parameters
trafficstars
Have a question? Please checkout our Slack Community or visit our Slack Archive.
Describe the Feature
Instead of passing in parameters like this
parameters = [
{
name = "activedefrag"
value = "no"
}
]
Use this
map_parameters = {
activedefrag = "no"
}
Perhaps we can use an alternate variable like map_parameters
See https://github.com/cloudposse/terraform-aws-ecs-container-definition#input_map_environment for an example in another repo
Note: The values should also be trimmed or AWS API will throw errors