make note about using UUIDs vs timestamps
This commit is contained in:
parent
4dd5397077
commit
32259f478d
|
@ -17,6 +17,8 @@ For example, the `{{timestamp}}` function can be used in any string to generate
|
||||||
the current timestamp. This is useful for configurations that require unique
|
the current timestamp. This is useful for configurations that require unique
|
||||||
keys, such as AMI names. By setting the AMI name to something like
|
keys, such as AMI names. By setting the AMI name to something like
|
||||||
`My Packer AMI {{timestamp}}`, the AMI name will be unique down to the second.
|
`My Packer AMI {{timestamp}}`, the AMI name will be unique down to the second.
|
||||||
|
If you need greater than one second granularity, you should use `{{uuid}}`, as
|
||||||
|
when you have multiple builders in the same template.
|
||||||
|
|
||||||
In addition to globally available functions like timestamp shown before, some
|
In addition to globally available functions like timestamp shown before, some
|
||||||
configurations have special local variables that are available only for that
|
configurations have special local variables that are available only for that
|
||||||
|
|
Loading…
Reference in New Issue