Skip to content

Commit

Permalink
(doc) Updated Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
willguibr committed Mar 7, 2024
1 parent e6adc2d commit 6ed89af
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

### Enhacements

- [PR #325](https://github.com/zscaler/terraform-provider-zia/325) Updated [support guide](/docs/guides/support.md) with new Zscaler support model.
- [PR #325](https://github.com/zscaler/terraform-provider-zia/pull/325) - Added support to import of the following resources:
- ``zia_auth_settings_urls``
- ``zia_sandbox_behavioral_analysis``
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Track all ZIA Terraform provider's releases. New resources, features, and bug fi

### Enhacements

- [PR #325](https://github.com/zscaler/terraform-provider-zia/325) Updated [support guide](/docs/guides/support.md) with new Zscaler support model.
- [PR #325](https://github.com/zscaler/terraform-provider-zia/pull/325) - Added support to import of the following resources:
- ``zia_auth_settings_urls``
- ``zia_sandbox_behavioral_analysis``
Expand All @@ -43,7 +44,6 @@ Track all ZIA Terraform provider's releases. New resources, features, and bug fi
- [PR #322](https://github.com/zscaler/terraform-provider-zia/pull/322) - Fixed validation `zia_url_filtering_rules` validations for rules with `action` configured as `ISOLATE`.
- [PR #322](https://github.com/zscaler/terraform-provider-zia/pull/322) - Fixed linter issues across several acceptance tests resources and data sources.


## 2.7.31 (February, 28 2024)

### Notes
Expand Down
2 changes: 1 addition & 1 deletion zia/common/version.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package common

var version = "2.7.32"
var version = "2.7.33"

// Version returns version of provider
func Version() string {
Expand Down
8 changes: 7 additions & 1 deletion zia/resource_zia_url_categories.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,13 @@ func resourceURLCategories() *schema.Resource {
d.SetId(resp.ID)
_ = d.Set("category_id", resp.ID)
} else {
return []*schema.ResourceData{d}, err
// Input is assumed to be a custom name, use the GetCustomURLCategories method
resp, err := zClient.urlcategories.GetCustomURLCategories(id)
if err != nil {
return nil, fmt.Errorf("error fetching URL category by custom name: %s", err)
}
d.SetId(resp.ID)
_ = d.Set("category_id", resp.ID)
}
}
return []*schema.ResourceData{d}, nil
Expand Down
2 changes: 1 addition & 1 deletion zia/version.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package zia

// ProviderVersion is set at build-time in the release process
var ProviderVersion = "2.7.32"
var ProviderVersion = "2.7.33"

0 comments on commit 6ed89af

Please sign in to comment.