resource_type, vm_id, volume_id) is immutable — Terraform owns the snapshot’s lifecycle (rename, delete). Restore is an imperative operation; use raff snapshot restore when you need it.
Example — VM snapshot
Example — volume snapshot
Argument reference
Required
Optional (one required, depending on resource_type)
Attribute reference (computed)
Lifecycle
Importing existing snapshots
Permissions
The API key needssnapshot.create, snapshot.manage, and snapshot.delete in the project. The system role Project Admin grants all of these.
Data sources
Related
raff_backup
Heavier-weight backup with retention.
raff_volume
Block storage volumes.
CLI: raff snapshot
Imperative equivalent.