Creates a snapshot of an FSx OpenZFS root volume and defines the file system.

Terraform Template

resource "aws_fsx_openzfs_file_system" "example" {
  deployment_type = "SINGLE_AZ_1"
  storage_capacity = 64
  subnet_ids = ["aws_subnet.example.id"]
  throughput_capacity = 64
}

resource "aws_fsx_openzfs_snapshot" "example" {
  name = "example"
  volume_id = aws_fsx_openzfs_file_system.example.root_volume_id
}