wallix / awless

A Mighty CLI for AWS
http://awless.io/
Apache License 2.0
4.98k stars 263 forks source link

Enable Auto-Assign Public IP (not Elastic IP) when create instance #267

Open grmpyninja opened 5 years ago

grmpyninja commented 5 years ago

There is a way to auto-assign a dynamic public IP address when creating an instance via the Web UI in AWS or using --associate-public-ip-address switch in AWS CLI (run-instance manual => https://docs.aws.amazon.com/cli/latest/reference/ec2/run-instances.html)

Is it possible to enable it in awless? It can be done only when the instance is created in AWS. There is no way to associate that dynamic IP after it was launched. Alternative is EIP, but there are different limitations, thus this associate public ip option in my case is preferable and I'd like to use it via awless.