better words on the hcl2 merge
This commit is contained in:
parent
e2b620677c
commit
83b3eb3be2
|
@ -24,6 +24,7 @@ build {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
-> **Note:** If any top-level attribute is re-defined with the same name an
|
-> **Note:** It is **not allowed** to set the same field in a top-level source
|
||||||
error will be displayed. For example: you cannot define the `output` field in
|
block and in a used source block. For example, if in the above example, the
|
||||||
the source declaration **and** in the source usage.
|
top-level "amazon-ebs.example" source block also had an `output` field;
|
||||||
|
Packer would error.
|
||||||
|
|
|
@ -12,7 +12,7 @@ build {
|
||||||
# Use the singular `source` block set
|
# Use the singular `source` block set
|
||||||
# specific fields.
|
# specific fields.
|
||||||
# Note that fields cannot be overwritten, in other words, you cannot
|
# Note that fields cannot be overwritten, in other words, you cannot
|
||||||
# set output from the top-level source block and here.
|
# set the 'output' field from the top-level source block and here.
|
||||||
output = "different value"
|
output = "different value"
|
||||||
name = var.foo
|
name = var.foo
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue