Skip to content

Commit

Permalink
Make netconf required
Browse files Browse the repository at this point in the history
  • Loading branch information
William Astorga committed Mar 2, 2022
1 parent d511b2c commit 5b488de
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dnacenter/resource_global_credential_netconf.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func resourceGlobalCredentialNetconf() *schema.Resource {
Type: schema.TypeList,
MaxItems: 1,
MinItems: 1,
Optional: true,
Required: true,
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{

Expand Down
5 changes: 4 additions & 1 deletion docs/resources/global_credential_netconf.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,13 @@ output "dnacenter_global_credential_netconf_example" {
<!-- schema generated by tfplugindocs -->
## Schema

### Required

- **parameters** (Block List, Min: 1, Max: 1) Array of RequestDiscoveryCreateNetconfCredentials (see [below for nested schema](#nestedblock--parameters))

### Optional

- **id** (String) The ID of this resource.
- **parameters** (Block List, Max: 1) Array of RequestDiscoveryCreateNetconfCredentials (see [below for nested schema](#nestedblock--parameters))

### Read-Only

Expand Down

0 comments on commit 5b488de

Please sign in to comment.