From e4a1b2485ae1c95e46f829889e4b008749ec12f4 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 8 Jul 2014 10:18:39 -0700 Subject: [PATCH] providers/aws: call ValidateResource on Map /cc @pearkes - Here is the thing that hooks it up. Good to go! --- builtin/providers/aws/resource_provider.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/providers/aws/resource_provider.go b/builtin/providers/aws/resource_provider.go index b9b011f79..e0243400b 100644 --- a/builtin/providers/aws/resource_provider.go +++ b/builtin/providers/aws/resource_provider.go @@ -23,7 +23,7 @@ func (p *ResourceProvider) Validate(c *terraform.ResourceConfig) ([]string, []er func (p *ResourceProvider) ValidateResource( t string, c *terraform.ResourceConfig) ([]string, []error) { - return nil, nil + return resourceMap.Validate(t, c) } func (p *ResourceProvider) Configure(c *terraform.ResourceConfig) error {