Resource: aws_fsx_openzfs_volume

Manages an Amazon FSx for OpenZFS volume. See the FSx OpenZFS User Guide for more information.

Example Usage

resource "aws_fsx_openzfs_volume" "test" {
  name             = "testvolume"
  parent_volume_id = aws_fsx_openzfs_file_system.test.root_volume_id
}

Argument Reference

This resource supports the following arguments:

nfs_exports Block

The nfs_exports configuration block supports the following arguments:

client_configurations Block

The client_configurations configuration block supports the following arguments:

origin_snapshot Block

The origin_snapshot configuration block supports the following arguments:

user_and_group_quotas Block

The user_and_group_quotas configuration block supports the following arguments:

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Timeouts

Configuration options:

Import

In Terraform v1.5.0 and later, use an import block to import FSx Volumes using the id. For example:

import {
  to = aws_fsx_openzfs_volume.example
  id = "fsvol-543ab12b1ca672f33"
}

Using terraform import, import FSx Volumes using the id. For example:

% terraform import aws_fsx_openzfs_volume.example fsvol-543ab12b1ca672f33