'packet storage create-volume --count 0'
Opened this issue · 7 comments
Hello!
Could you please allow creation of volumes without snapshot usage at all?
I am afraid the API does not allow to create a snapshot policy with 0 count. And at least one snapshot policy is a mandatory parameter when creating a volume. See https://www.packet.net/developers/api/volumes/
@vielmetti : Do you have any advise on this ?
Thanks for reply!
Well, via Web console it's possible to create Volume without Snapshot Policy.
I also tried to remove the Snapshot Policy after creation via 'packet storage delete-snapshot-policy', but don't able to find ID string for '--policy-id'. Where is it?
@ebsarr thankfully the new portal goes straight to api so if in doubt fireup browser console snapshot_policies
, it may even be fine if you omit it too.
@mmlb thanks. I’ll modify the code to pass an empty slice of snapshot_policies
and see how it behaves .
@inemylostyvyi : I have addressed the issue in v2.3.1
.
@ebsarr Thanks!