awless icon indicating copy to clipboard operation
awless copied to clipboard

Lack of supported parameters for CreateVolume

Open deinspanjer opened this issue 7 years ago • 1 comments

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.

deinspanjer avatar May 10 '18 19:05 deinspanjer

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

simcap avatar May 22 '18 11:05 simcap