From 8acd3a637314d1fb2368025a5a8f7e099df4c975 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 7 Jul 2014 15:06:17 -0700 Subject: [PATCH] helper/resource: set to valid ID --- helper/resource/map.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper/resource/map.go b/helper/resource/map.go index ae9ce719d..e1600ce82 100644 --- a/helper/resource/map.go +++ b/helper/resource/map.go @@ -50,7 +50,7 @@ func (m *Map) Apply( result, err = r.Update(s, d, meta) } if result != nil { - result.Attributes["id"] = s.ID + result.Attributes["id"] = result.ID } return result, err