From fa2e2e60f1d1ae8ec9774517c7ba37c6edb0b56d Mon Sep 17 00:00:00 2001 From: GitHub Actions <> Date: Sat, 11 Dec 2021 13:43:19 +0000 Subject: [PATCH] Update docs and CHANGELOG.md --- CHANGELOG.md | 6 ++++++ docs/data-sources/firewall.md | 15 +++++++++++---- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 49308fbe..afcb3bb0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,10 @@ +## [v1.0.7](https://github.com/civo/terraform-provider-civo/releases/tag/v1.0.7) (11 December 2021) + +### Merged +- [#115](https://github.com/civo/terraform-provider-civo/pull/115) - Fixed error when you sending to scaling a kubernetes cluster +- [#114](https://github.com/civo/terraform-provider-civo/pull/114) - update docs for datasource civo_firewall + ## [v1.0.6](https://github.com/civo/terraform-provider-civo/releases/tag/v1.0.6) (9 December 2021) ### Merged diff --git a/docs/data-sources/firewall.md b/docs/data-sources/firewall.md index 8061a827..6755678a 100644 --- a/docs/data-sources/firewall.md +++ b/docs/data-sources/firewall.md @@ -5,7 +5,7 @@ subcategory: "" description: |- Retrieve information about a firewall for use in other resources. This data source provides all of the firewall's properties as configured on your Civo account. - Firewalls may be looked up by id or label, and you can optionally pass region if you want to make a lookup for an expecific firewall inside that region. + Firewalls may be looked up by id or name, and you can optionally pass region if you want to make a lookup for an expecific firewall inside that region. --- # civo_firewall (Data Source) @@ -14,9 +14,16 @@ Retrieve information about a firewall for use in other resources. This data source provides all of the firewall's properties as configured on your Civo account. -Firewalls may be looked up by id or label, and you can optionally pass region if you want to make a lookup for an expecific firewall inside that region. +Firewalls may be looked up by id or name, and you can optionally pass region if you want to make a lookup for an expecific firewall inside that region. +## Example Usage +```terraform +data "civo_firewall" "test" { + name = "test-firewall" + region = "NYC1" +} +``` ## Schema @@ -24,8 +31,8 @@ Firewalls may be looked up by id or label, and you can optionally pass region if ### Optional - **id** (String) The ID of this resource. -- **name** (String) The name of the Kubernetes Cluster -- **region** (String) The region where cluster is running +- **name** (String) The name of the firewall +- **region** (String) The region where the firewall is ### Read-Only