providers/aws: get tests passing

This commit is contained in:
Mitchell Hashimoto 2014-06-12 22:15:36 -07:00
parent a256f27b24
commit 00a8c4f2ca
1 changed files with 2 additions and 2 deletions

View File

@ -7,13 +7,13 @@ import (
type ResourceProvider struct { type ResourceProvider struct {
} }
func (p *ResourceProvider) Configure(map[string]interface{}) error { func (p *ResourceProvider) Configure(*terraform.ResourceConfig) error {
return nil return nil
} }
func (p *ResourceProvider) Diff( func (p *ResourceProvider) Diff(
s *terraform.ResourceState, s *terraform.ResourceState,
c map[string]interface{}) (*terraform.ResourceDiff, error) { c *terraform.ResourceConfig) (*terraform.ResourceDiff, error) {
return &terraform.ResourceDiff{ return &terraform.ResourceDiff{
Attributes: map[string]*terraform.ResourceAttrDiff{ Attributes: map[string]*terraform.ResourceAttrDiff{
"id": &terraform.ResourceAttrDiff{ "id": &terraform.ResourceAttrDiff{