// Validate implementation of terraform.ResourceProvider interface.

Validate implementation of terraform.ResourceProvider interface.
// Validate implementation of terraform . ResourceProvider interface .
func (p *Provider) Validate(c *terraform.ResourceConfig) ([]string, []error) {
	if err := p.InternalValidate(); err != nil {
		return nil, []error{fmt.Errorf(
			"Internal validation of the provider failed! This is always a bug\n"+
				"with the provider itself, and not a user issue. Please report\n"+
				"this bug:\n\n%s", err)}
	}
	return schemaMap(p.Schema).Validate(c)
}
func ( p * Provider ) Validate ( c * terraform . ResourceConfig ) ( [ ] string , [ ] error ) { if err := p . InternalValidate ( ) ; err != nil { return nil , [ ] error { fmt . Errorf ( " \n " + " \n " + " \n \n " , err ) } } return schemaMap ( p . Schema ) . Validate ( c ) }
Validate implementation of terraform.ResourceProvider interface.
Validate implementation of terraform . ResourceProvider interface .