Hello guys,
I am trying to create a GHE (GitHub Enterprise) inside AWS and once it's up and running I need to perform a few curls to install the license, settings.json file and my public key.
How can I grab the IP of this new instance during "building" time, and use this IP inside my curls commands?
packer.json file
https://gist.github.com/rmarcandier/64786b129b0e936042961f2007879a78
conf.sh script
https://gist.github.com/rmarcandier/9e412169656b7b17f154251c4c8bf338
Thank you in advance
Regards
RG
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/d17d1e39-7fc7-49ca-b9d2-e1f102fe952co%40googlegroups.com.