mitchellh / vagrant-aws

Use Vagrant to manage your EC2 and VPC instances.
MIT License
2.61k stars 574 forks source link

Instance_id attribute #557

Open hypnot0ad opened 5 years ago

hypnot0ad commented 5 years ago

i have an edge case where the password for an ami is the instance id of that deployed machine.

is there a way to ready the instance id into a variable when the Vagrantfile is provisioning a host? This wouldnt use a provision script as the username and password is required before a provisioning script can be run.