Skip to content

Commit

Permalink
Update docs and CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions committed Feb 26, 2022
1 parent 5f729d1 commit 8104f1b
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@

## [v1.0.12](https://github.com/civo/terraform-provider-civo/releases/tag/v1.0.12) (26 February 2022)

### Merged
- [#117](https://github.com/civo/terraform-provider-civo/pull/117) - fix: remove double default
- [#121](https://github.com/civo/terraform-provider-civo/pull/121) - Enable loab balancer support for datasource

## [v1.0.11](https://github.com/civo/terraform-provider-civo/releases/tag/v1.0.11) (16 February 2022)

### Merged
Expand Down
55 changes: 55 additions & 0 deletions docs/data-sources/loadbalancer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "civo_loadbalancer Data Source - terraform-provider-civo"
subcategory: ""
description: |-
Get information on a load balancer for use in other resources. This data source provides all of the load balancers properties as configured on your Civo account.
An error will be raised if the provided load balancer name does not exist in your Civo account.
---

# civo_loadbalancer (Data Source)

Get information on a load balancer for use in other resources. This data source provides all of the load balancers properties as configured on your Civo account.

An error will be raised if the provided load balancer name does not exist in your Civo account.

## Example Usage

```terraform
# TODO
```

<!-- schema generated by tfplugindocs -->
## Schema

### Optional

- **id** (String) The id of the load balancer to retrieve (You can find this id from service annotations 'kubernetes.civo.com/loadbalancer-id')
- **name** (String) The name of the load balancer (You can find this name from service annotations 'kubernetes.civo.com/loadbalancer-name')

### Read-Only

- **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
- **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
- **public_ip** (String) The public ip of the load balancer
- **session_affinity** (String) The session affinity of the load balancer
- **session_affinity_config_timeout** (Number) The session affinity config timeout of the load balancer
- **state** (String) The state of the load balancer

<a id="nestedatt--backends"></a>
### Nested Schema for `backends`

Read-Only:

- **health_check_port** (Number)
- **ip** (String)
- **protocol** (String)
- **source_port** (Number)
- **target_port** (Number)


0 comments on commit 8104f1b

Please sign in to comment.