Skip to content

Commit

Permalink
[ignore] Add max items to documentation for vrf_fallback_routes
Browse files Browse the repository at this point in the history
  • Loading branch information
akinross authored and lhercot committed Jul 3, 2024
1 parent 25647a0 commit bd77190
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/resources/vrf_fallback_route_group.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ All examples for the VRF Fallback Route Group resource can be found in the [exam
* `name_alias` (nameAlias) - (string) The name alias of the VRF Fallback Route Group Member object.

* `vrf_fallback_routes` - (list) A list of VRF Fallback Routes (ACI object [fvFBRoute](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvFBRoute/overview)). VRF Fallback Routes can also be configured using a separate [aci_vrf_fallback_route](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/vrf_fallback_route) resource.
- Max Items: 1

#### Required ####

Expand Down
4 changes: 2 additions & 2 deletions gen/templates/resource.md.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,12 @@ All examples for the {{.ResourceNameAsDescription}} resource can be found in the
{{ range .Children }}{{$childVersion := .Versions}}{{$RelationshipClasses := .RelationshipClasses}}{{$length := len .RelationshipClasses}}
{{- if ge $length 1}}
* `{{- .ResourceName}}` - (list) A list of {{getResourceNameAsDescription .ResourceName $.Definitions}} (ACI object {{getDevnetDocForClass .PkgName}}) pointing to {{range $index, $value := .RelationshipResourceNames}}{{- if or (eq $length 1) (eq $.PkgName (index $RelationshipClasses $index))}}{{getResourceNameAsDescription $value $.Definitions}} (ACI Object {{getDevnetDocForClass (index $RelationshipClasses $index)}}) which can be configured using the [aci_{{($value)}}](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/{{($value)}}) resource{{end}}{{end}}.{{if and (ne $.Versions .Versions) (ne .Versions "")}} This attribute is supported in ACI versions: {{ .Versions}}{{- end}}
{{- if not .IdentifiedBy}}
{{- if or (not .IdentifiedBy) .MaxOneClassAllowed}}
- Max Items: 1
{{- end}}
{{- else}}
* `{{- .ResourceName}}` - (list) A list of {{getResourceNameAsDescription .ResourceName $.Definitions}} (ACI object {{getDevnetDocForClass .PkgName}}). {{getResourceNameAsDescription .ResourceName $.Definitions}} can also be configured using a separate [aci_{{.ResourceNameDocReference}}](https://registry.terraform.io/providers/CiscoDevNet/aci/latest/docs/resources/{{.ResourceNameDocReference}}) resource.{{if and (ne $.Versions .Versions) (ne .Versions "")}} This attribute is supported in ACI versions: {{ .Versions}}{{- end}}
{{- if not .IdentifiedBy}}
{{- if or (not .IdentifiedBy) .MaxOneClassAllowed}}
- Max Items: 1
{{- end}}
{{- end}}
Expand Down

0 comments on commit bd77190

Please sign in to comment.