How to create a environment variable from one provision to be used in the next provision
13 views
Skip to first unread message
Ibrahim Buamod
unread,
Jan 15, 2019, 1:19:26 PM1/15/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Packer
How to create a environment variable from one provision to be used in the next provision?
Is there a packer way ? I would prefer using packer instead a environment variable ?
Megan Marsh
unread,
Jan 15, 2019, 1:51:33 PM1/15/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to packe...@googlegroups.com
There isn't a way to handle this from within packer. Depending on what provisioners you are using you may be able to write the variable to a file that can be read by the next provisioner.
Ibrahim Buamod
unread,
Jan 15, 2019, 2:01:00 PM1/15/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message