Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 2.17 KB

File metadata and controls

50 lines (38 loc) · 2.17 KB
page_title stackit_sfs_share Data Source - stackit
subcategory
description SFS Share schema. Must have a region specified in the provider configuration. ~> This datasource 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.

stackit_sfs_share (Data Source)

SFS Share schema. Must have a region specified in the provider configuration.

~> This datasource 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.

Example Usage

data "stackit_sfs_share" "example" {
  project_id       = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
  resource_pool_id = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
  share_id         = "YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY"
}

Schema

Required

  • 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.
  • share_id (String) share ID

Optional

  • region (String) The resource region. Read-only attribute that reflects the provider region.

Read-Only

  • export_policy (String) Name of the Share Export Policy to use in the Share. Note that if this is not set, 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 Share
  • id (String) Terraform's internal resource ID. It is structured as "project_id,share_id".
  • mount_path (String) Mount path of the Share, used to mount the Share
  • name (String) Name of the 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)