From 2634c801dfce4fe8161d27dfc3c560b802778a11 Mon Sep 17 00:00:00 2001 From: GitHub Actions <> Date: Mon, 28 Feb 2022 09:26:55 +0000 Subject: [PATCH] Update docs and CHANGELOG.md --- CHANGELOG.md | 8 ++++++++ docs/data-sources/loadbalancer.md | 10 +++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0331b24d..535cc033 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,12 @@ +## [v1.0.13](https://github.com/civo/terraform-provider-civo/releases/tag/v1.0.13) (28 February 2022) + +### Merged +- [#122](https://github.com/civo/terraform-provider-civo/pull/122) - Fix lb enable proxy protocol type + +### Commits +- [a06a034](https://github.com/civo/terraform-provider-civo/commit/a06a03405dd6e78cde30dd44e84ce586a523f03f) - Added the lb example for the doc + ## [v1.0.12](https://github.com/civo/terraform-provider-civo/releases/tag/v1.0.12) (26 February 2022) ### Merged diff --git a/docs/data-sources/loadbalancer.md b/docs/data-sources/loadbalancer.md index 840afc8c..a46b9e3a 100644 --- a/docs/data-sources/loadbalancer.md +++ b/docs/data-sources/loadbalancer.md @@ -17,6 +17,14 @@ An error will be raised if the provided load balancer name does not exist in you ```terraform # TODO +data civo_loadbalancer "my-lb" { + #id = "c385638f-6bb7-4d74-840c-4d98f3d15082" // Optional + name = "lb-name" +} + +output "civo_loadbalancer_output" { + value = data.civo_loadbalancer.my-lb.public_ip +} ``` @@ -32,7 +40,7 @@ An error will be raised if the provided load balancer name does not exist in you - **algorithm** (String) The algorithm used by the load balancer - **backends** (List of Object) (see [below for nested schema](#nestedatt--backends)) - **cluster_id** (String) The cluster id of the load balancer -- **enable_proxy_protocol** (Boolean) Whether the load balancer is configured to proxy protocol +- **enable_proxy_protocol** (String) The enabled proxy protocol of the load balancer - **external_traffic_policy** (String) The external traffic policy of the load balancer - **firewall_id** (String) The firewall id of the load balancer - **private_ip** (String) The private ip of the load balancer