-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to associate public ip address in ec2 run-instance #479
Comments
Yes, I agree that would be useful. |
* release-1.2.5: Bumping version to 1.2.5 Update completer unit tests with new changes Update CHANGELOG with latest features Add high level operations for cloudtrail Add a --associate-public-ip-address boolean option. Fixes #479. Remove debugging code used in BaseAWSCommandParamsTest Add a new s3 website command Remove unused variables Remove trailing whitespace
Thanks for adding it! I tried it out, but I ran into a problem. It seems that I can't run --associate-public-ip-address and specify a subnet id for some reason.
|
Thanks for adding this feature but I got this error too. the command is as follows.
and the error message is ...
any comments would be appreciated. |
Check this kind page out Luckily, my company has premium AWS support and a quick 10 minute chat got the answer I needed. You must use the --network-attachment param, which takes the place of --group, --private-ip-address, and --subnet The resulting command looks like this: ec2-run-instances ami-abc123 Good luck, I hope this helps! |
There doesn't seem to be any way to associate a public ip address without also adding a network interface with the --network-interfaces parameter. Is it possible for this to be a top level parameter?
The text was updated successfully, but these errors were encountered: