Merge pull request #15695 from radeksimko/f-config-reserve-id

config: Make 'id' a reserved field name
This commit is contained in:
Radek Simko 2017-08-04 22:04:14 +02:00 committed by GitHub
commit 4acdc53a56
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,7 @@ var ReservedResourceFields = []string{
"connection", "connection",
"count", "count",
"depends_on", "depends_on",
"id",
"lifecycle", "lifecycle",
"provider", "provider",
"provisioner", "provisioner",
@ -28,6 +29,7 @@ var ReservedResourceFields = []string{
var ReservedProviderFields = []string{ var ReservedProviderFields = []string{
"alias", "alias",
"id",
"version", "version",
} }