wallix / awless

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

Lack of supported parameters for CreateVolume #213

Open deinspanjer opened 6 years ago

deinspanjer commented 6 years ago

There are other useful and important parameters that can be specified on the CreateVolume API such as creating a volume based on a snapshot. Is there an important reason the awless command only takes two arguments?

See https://docs.aws.amazon.com/cli/latest/reference/ec2/create-volume.html or https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html for supported parameters.

I looked at the awless code and it seems like it might not be too difficult to add more parameters. If I can get some pointers/docs on what should be covered, I'd be willing to put together a PR for it.

simcap commented 6 years ago

Indeed it is lacking. There might have been a reason but I cannot see why now. Weird! (Also I am mixing it with awless create snapshot -h from a volume)

Thanks for pointing that out @deinspanjer

I am out of the awless project in term of full time resource but luckily I have just finished documenting how to contribute and also how to add a new service.

Although in this case the implementation will be much simpler, it can be a bit daunting to know how to start and where to find things. So hopefully the documentation will help.

The documentation is the wiki. For instance to add a new AWS service