The following APIs are yet not supported by the Terraform provider
- POST /v1/volumes/{uuid}/revert
- GET /v1/volume-snapshots?{query_string}
- GET /v1/volume-snapshots/{uuid}
- POST /v1/volume-snapshots
- PATCH /v1/volume-snapshots/{uuid}
- DELETE /v1/volume-snapshots/{uuid}
Are you planning to release a new version of the provider to include them? I fear that invoking these APIs using a null_resource will not be the best idea.
resource "null_resource" "cloudscale-shapshot-create" {
provisioner "local-exec" {
command = "$ curl -i -H "$AUTH_HEADER" -F name="pre-dist-upgrade" -F source_volume="<VOLUME-ID>" https://api.cloudscale.ch/v1/volume-snapshots"
}
}
The following APIs are yet not supported by the Terraform provider
Are you planning to release a new version of the provider to include them? I fear that invoking these APIs using a null_resource will not be the best idea.