| page_title | subcategory | description |
|---|---|---|
stackit_sfs_share Resource - stackit |
SFS Share schema. Must have a region specified in the provider configuration.
~> This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide https://registry.terraform.io/providers/stackitcloud/stackit/latest/docs/guides/opting_into_beta_resources for how to opt-in to use beta resources. |
SFS Share schema. Must have a region specified in the provider configuration.
~> This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.
resource "stackit_sfs_share" "example" {
project_id = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
resource_pool_id = "YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY"
name = "my-nfs-share"
export_policy = "high-performance-class"
space_hard_limit_gigabytes = 32
}
# Only use the import statement, if you want to import an existing sfs share
import {
to = stackit_sfs_resource_pool.resourcepool
id = "${var.project_id},${var.region},${var.resource_pool_id},${var.share_id}"
}export_policy(String) Name of the Share Export Policy to use in the Share. Note that if this is set to an empty string, the Share can only be mounted in read only by clients with IPs matching the IP ACL of the Resource Pool hosting this Share. You can also assign a Share Export Policy after creating the Sharename(String) Name of the share.project_id(String) STACKIT project ID to which the share is associated.resource_pool_id(String) The ID of the resource pool for the SFS share.space_hard_limit_gigabytes(Number) Space hard limit for the Share. If zero, the Share will have access to the full space of the Resource Pool it lives in. (unit: gigabytes)
region(String) The resource region. If not defined, the provider region is used.
id(String) Terraform's internal resource ID. It is structured as "project_id,region,resource_pool_id,share_id".mount_path(String) Mount path of the Share, used to mount the Shareshare_id(String) share ID