From 67ceb1ab07acd55ebc0d7b6efb39019e73fd1888 Mon Sep 17 00:00:00 2001 From: Radek Simko Date: Wed, 2 Aug 2017 20:02:44 +0200 Subject: [PATCH] config: Make 'id' a reserved field name --- config/loader_hcl.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/loader_hcl.go b/config/loader_hcl.go index e85e49355..bcd4d43a4 100644 --- a/config/loader_hcl.go +++ b/config/loader_hcl.go @@ -21,6 +21,7 @@ var ReservedResourceFields = []string{ "connection", "count", "depends_on", + "id", "lifecycle", "provider", "provisioner", @@ -28,6 +29,7 @@ var ReservedResourceFields = []string{ var ReservedProviderFields = []string{ "alias", + "id", "version", }