serverless-examples
serverless-examples copied to clipboard
Instance snapshot Job bug - volume_type does not respect contraint, not a valid value
Hello,
- I carefully followed the official guide to create a snapshot of an instance (https://www.scaleway.com/en/docs/tutorials/snapshot-instances-jobs/#creating-the-job-definition), but I'm getting the error:
volume_type does not respect constraint, not a valid value. - I noticed that the Go code uses the instance API, and my initial volume type is sbs_volume. I also saw in the API documentation (https://www.scaleway.com/en/developers/api/instance/#path-snapshots-create-a-snapshot-from-a-specified-volume-or-from-a-qcow2-file) that this type is not allowed. Is there a link with the new Block Storage API?
Thank you in advance!