Working with openstack. I have a two steps process to build images with packer: (1) create infrastructure using terraform basically, just a network routed to the internet and some security group that allows SSH (2) build the image using packer
Problem is I need to provide the id of the network built by terraform to packer. I can do this manually by checking the state file but I was wondering what was the best practice to automate this?