providers/aws: call ValidateResource on Map
/cc @pearkes - Here is the thing that hooks it up. Good to go!
This commit is contained in:
parent
0c812ba9e8
commit
e4a1b2485a
|
@ -23,7 +23,7 @@ func (p *ResourceProvider) Validate(c *terraform.ResourceConfig) ([]string, []er
|
||||||
|
|
||||||
func (p *ResourceProvider) ValidateResource(
|
func (p *ResourceProvider) ValidateResource(
|
||||||
t string, c *terraform.ResourceConfig) ([]string, []error) {
|
t string, c *terraform.ResourceConfig) ([]string, []error) {
|
||||||
return nil, nil
|
return resourceMap.Validate(t, c)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p *ResourceProvider) Configure(c *terraform.ResourceConfig) error {
|
func (p *ResourceProvider) Configure(c *terraform.ResourceConfig) error {
|
||||||
|
|
Loading…
Reference in New Issue