config: Make 'id' a reserved field name

This commit is contained in:
Radek Simko 2017-08-02 20:02:44 +02:00
parent 94a1ca7341
commit 67ceb1ab07
No known key found for this signature in database
GPG Key ID: 6823F3DCCE01BB19
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",
} }