You can declare a variable as below and use it builders.
"myvar2": "Packer-Image-{{isotime \"2006-01-02 03-04-05\"}}",
I have tried it on OCI Instance and worked fine.
We will obtain a Custom Image with timestamp set to UTC.
"myvar2": "Packer-Image-{{isotime \"2006-01-02 03-04-05\"}}",
I have tried it on OCI Instance and worked fine.
We will obtain a Custom Image with timestamp set to UTC.
No comments:
Post a Comment