|
| 1 | +--- |
| 2 | +# generated by https://github.com/hashicorp/terraform-plugin-docs |
| 3 | +page_title: "stackit_sfs_share Resource - stackit" |
| 4 | +subcategory: "" |
| 5 | +description: |- |
| 6 | + SFS Shares. Must have a region specified in the provider configuration. |
| 7 | + ~> 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. |
| 8 | +--- |
| 9 | + |
| 10 | +# stackit_sfs_share (Resource) |
| 11 | + |
| 12 | +SFS Shares. Must have a region specified in the provider configuration. |
| 13 | + |
| 14 | + |
| 15 | +~> 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. |
| 16 | + |
| 17 | +## Example Usage |
| 18 | + |
| 19 | +```terraform |
| 20 | +resource "stackit_sfs_share" "example" { |
| 21 | + project_id = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" |
| 22 | + resource_pool_id = "YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY" |
| 23 | + name = "my-nfs-share" |
| 24 | + export_policy = "high-performance-class" |
| 25 | + space_hard_limit_gigabytes = 32 |
| 26 | +} |
| 27 | +``` |
| 28 | + |
| 29 | +<!-- schema generated by tfplugindocs --> |
| 30 | +## Schema |
| 31 | + |
| 32 | +### Required |
| 33 | + |
| 34 | +- `export_policy` (String) Name of the Share Export Policy to use in the Share. |
| 35 | +Note that if this is set to an empty string, the Share can only be mounted in read only by |
| 36 | +clients with IPs matching the IP ACL of the Resource Pool hosting this Share. |
| 37 | +You can also assign a Share Export Policy after creating the Share |
| 38 | +- `name` (String) Name of the share. |
| 39 | +- `project_id` (String) STACKIT project ID to which the share is associated. |
| 40 | +- `resource_pool_id` (String) The ID of the resource pool for the NFS share. |
| 41 | +- `space_hard_limit_gigabytes` (Number) Space hard limit for the Share. |
| 42 | + If zero, the Share will have access to the full space of the Resource Pool it lives in. |
| 43 | + (unit: gigabytes) |
| 44 | + |
| 45 | +### Optional |
| 46 | + |
| 47 | +- `region` (String) The resource region. If not defined, the provider region is used. |
| 48 | + |
| 49 | +### Read-Only |
| 50 | + |
| 51 | +- `id` (String) Terraform's internal resource ID. It is structured as "`project_id`,`region`,`resource_pool_id`,`share_id`". |
| 52 | +- `mount_path` (String) Mount path of the Share, used to mount the Share |
| 53 | +- `share_id` (String) share ID |
0 commit comments