Skip to content

frostmoln_snapshot (Resource)

Manages a volume snapshot in the Frostmoln platform. Snapshots are immutable after creation.

Example Usage

terraform
resource "frostmoln_snapshot" "backup" {
  name        = "data-volume-backup"
  description = "Daily backup of data volume"
  volume_id   = frostmoln_volume.data.id

  tags = {
    type = "backup"
  }
}

Schema

Required

  • name (String) The name of the snapshot.
  • volume_id (String) The ID of the volume to create the snapshot from.

Optional

  • description (String) A human-readable description of the snapshot.
  • tags (Map of String) Key-value tags for the snapshot.

Read-Only

  • created_at (String) The timestamp when the snapshot was created.
  • id (String) The unique identifier of the snapshot.
  • size_gb (Number) The size of the snapshot in gigabytes.
  • status (String) The current status of the snapshot.