Skip to content

Commit

Permalink
Merge pull request #72 from NetApp/70-docs-example-contains-unquoted-…
Browse files Browse the repository at this point in the history
…strings

Fix documentation
  • Loading branch information
carchi8py authored Nov 8, 2023
2 parents 3558fda + 32c8c47 commit 9465df8
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 17 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
## 1.0.0 (2023-09-18)

## 1.0.1 ()

BUG FIXES:
* netapp-ontap_cluster_data_source, netapp-ontap_snapmirrors_data_source, netapp-ontap_networking_ip_route_resource and netapp-ontap_sotrage_volume_resource: Fix documentation ([#70](https://github.com/NetApp/terraform-provider-netapp-ontap/issues/70))

## 1.0.0 (2023-11-06)

NOTES

Expand Down
2 changes: 1 addition & 1 deletion CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @carchi8py @chuyich @suhasbshekar @wenjun666
* @carchi8py @chuyich @suhasbshekar @wenjun666
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ go install
Click on Issues, we have 6 categories for issues:
1. Report a Bug -- for unexpected error, a crash, or otherwise incorrect behavior.
2. Report a Documentation Error -- for error in our documentation, including typos, mistakes, or outdated information.
3. Request an Enchantment -- For new fields to existing Resources or data sources
3. Request an Enhancement -- For new fields to existing Resources or data sources
4. Request a New Resource, Data Source, or Service
5. Other -- Any other issue that is not covered by the above categories.
6. General Questions -- If you have any general question we have a Discord channel for that.

## Contributing
Please read the [Contributing Guide](CONTRIBUTING.md) for details on the process for submitting pull requests to us.
Please read the [Contributing Guide](CONTRIBUTING.md) for details on the process for submitting pull requests to us.
9 changes: 7 additions & 2 deletions docs/data-sources/cluster_data_source.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@ description: |-
# netapp-ontap_cluster_data_source (Data Source)

Cluster data source


## Example Usage
```terraform
data "netapp-ontap_cluster_data_source" "cluster" {
# required to know which system to interface with
cx_profile_name = "cluster2"
}
```

<!-- schema generated by tfplugindocs -->
## Schema
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/protocols_nfs_service_data_source.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
page_title: "ONTAP: NFS_Service "
page_title: "ONTAP: NFS_Service
subcategory: "nas"
description: |-
Retrieves the NFS configuration of SVMs.
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/snapmirrors_data_source.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ data "netapp-ontap_snapmirrors_data_source" "snapmirrors" {
# required to know which system to interface with
cx_profile_name = "cluster4"
filter = {
"destination_path" = "snapmirror_dest_svm*"
destination_path = "snapmirror_dest_svm*"
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/storage_volume_snapshots_data_source.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "netapp-ontap_storage_volume_snapshots_data_source Data Source - terraform-provider-netapp-ontap"
subcategory: "storage"
subcategory: ""
description: |-
Retrieves a collection of volume Snapshot copies
---
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/svms_data_source.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "netapp-ontap_svms_data_source Data Source - terraform-provider-netapp-ontap"
subcategory: "svm"
subcategory: "svms"
description: |-
Retrieves the configuration of SVMs.
---
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/networking_ip_route_resource.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ resource "netapp-ontap_networking_ip_route_resource" "networking_ip_route" {
Optional:

- `address` (String) IPv4 or IPv6 address
- `netmask` (String) netmask length (16) or IPv4 mask (255.255.0.0). For IPv6, valid range is 1 to 127.
- `netmask` (Number) netmask length (16) or IPv4 mask (255.255.0.0). For IPv6, valid range is 1 to 127.

## Import
Import is currently not support for this Resource.
12 changes: 6 additions & 6 deletions docs/resources/storage_volume_resource.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ Create/modify/delete a Volume resource
```terraform
resource "netapp-ontap_storage_volume_resource" "example" {
cx_profile_name = "cluster5"
name = vol1
svm_name = svm2
name = "vol1"
svm_name = "svm2"
aggregates = [
{
name = "aggr2"
Expand All @@ -34,9 +34,9 @@ resource "netapp-ontap_storage_volume_resource" "example" {
type = "non_snaplock"
}
space = {
size = 30
size_unit = "mb"
percent_snapshot_space = 20
size = 30
size_unit = "mb"
percent_snapshot_space = 20
logical_space = {
enforcement = true
reporting = true
Expand All @@ -51,7 +51,7 @@ resource "netapp-ontap_storage_volume_resource" "example" {
user_id = 20
unix_permissions = "755"
security_style = "mixed"
junction_path = "/testacc"
junction_path = "/testacc"
}
}
```
Expand Down

0 comments on commit 9465df8

Please sign in to comment.