From f9be305b615ac6ac3ebc0018dc6dc01fd5c9cb69 Mon Sep 17 00:00:00 2001 From: Rob Jackson Date: Tue, 8 Oct 2019 15:57:20 +0100 Subject: [PATCH] Update README with new "backends" syntax One of the last changes in PR #52 (Terraform 0.12 compatibility) was to make all of these attributes required, or explicitly set to null if we do not want to change the default values. The implementation across the example code was updated, but it looks like this entry in the README was missed --- README.md | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bfa8bdab..bc27a0fe 100644 --- a/README.md +++ b/README.md @@ -14,8 +14,28 @@ module "gce-lb-http" { target_tags = [module.mig1.target_tags, module.mig2.target_tags] backends = { "0" = [ - { group = module.mig1.instance_group }, - { group = module.mig2.instance_group } + { + group = module.mig1.instance_group + balancing_mode = null + capacity_scaler = null + description = null + max_connections = null + max_connections_per_instance = null + max_rate = null + max_rate_per_instance = null + max_utilization = null + }, + { + group = module.mig2.instance_group + balancing_mode = null + capacity_scaler = null + description = null + max_connections = null + max_connections_per_instance = null + max_rate = null + max_rate_per_instance = null + max_utilization = null + } ], } backend_params = [