providers/*: fix compilation for input

This commit is contained in:
Mitchell Hashimoto 2014-09-29 10:28:08 -07:00
parent 0f03f0eb53
commit 82d4ccfc2c
1 changed files with 6 additions and 0 deletions

View File

@ -19,6 +19,12 @@ type ResourceProvider struct {
p *schema.Provider
}
func (p *ResourceProvider) Input(
input terraform.UIInput,
c *terraform.ResourceConfig) (*terraform.ResourceConfig, error) {
return Provider().Input(input, c)
}
func (p *ResourceProvider) Validate(c *terraform.ResourceConfig) ([]string, []error) {
prov := Provider()
return prov.Validate(c)