@@ -85,17 +85,17 @@ func BuiltinValidate() starlark.Value {
8585 })
8686}
8787
88- // Validate honors the Vadiabler interface.
88+ // Validate honors the Validabler interface.
8989func (t * Terraform ) Validate () (errs ValidationErrors ) {
9090 if t .b != nil {
9191 errs = append (errs , t .b .Validate ()... )
9292 }
9393
94- errs = append (errs , t .b .Validate ()... )
94+ errs = append (errs , t .p .Validate ()... )
9595 return
9696}
9797
98- // Validate honors the Vadiabler interface.
98+ // Validate honors the Validabler interface.
9999func (d * Dict ) Validate () (errs ValidationErrors ) {
100100 for _ , v := range d .Keys () {
101101 p , _ , _ := d .Get (v )
@@ -110,7 +110,7 @@ func (d *Dict) Validate() (errs ValidationErrors) {
110110 return
111111}
112112
113- // Validate honors the Vadiabler interface.
113+ // Validate honors the Validabler interface.
114114func (p * Provider ) Validate () (errs ValidationErrors ) {
115115 errs = append (errs , p .Resource .Validate ()... )
116116 errs = append (errs , p .dataSources .Validate ()... )
@@ -119,7 +119,7 @@ func (p *Provider) Validate() (errs ValidationErrors) {
119119 return
120120}
121121
122- // Validate honors the Vadiabler interface.
122+ // Validate honors the Validabler interface.
123123func (g * ResourceCollectionGroup ) Validate () (errs ValidationErrors ) {
124124 names := make (sort.StringSlice , len (g .collections ))
125125 var i int
@@ -136,7 +136,7 @@ func (g *ResourceCollectionGroup) Validate() (errs ValidationErrors) {
136136 return
137137}
138138
139- // Validate honors the Vadiabler interface.
139+ // Validate honors the Validabler interface.
140140func (c * ResourceCollection ) Validate () (errs ValidationErrors ) {
141141 if c .nestedblock != nil {
142142 l := c .Len ()
@@ -161,7 +161,7 @@ func (c *ResourceCollection) Validate() (errs ValidationErrors) {
161161 return
162162}
163163
164- // Validate honors the Vadiabler interface.
164+ // Validate honors the Validabler interface.
165165func (r * Resource ) Validate () ValidationErrors {
166166 return append (
167167 r .doValidateAttributes (),
0 commit comments