github.com/candidpartners/terraform@v0.9.5-0.20171005231213-29f5f88820f6/website/source/docs/providers/netapp/d/cloud_workenv.html.markdown (about) 1 --- 2 layout: "netapp" 3 page_title: "NetApp: netapp_cloud_workenv" 4 sidebar_current: "docs-netapp-datasource-cloud-workenv" 5 description: |- 6 Gets information about a working environment 7 --- 8 9 # netapp\_cloud\_workenv 10 11 Use this data source to retrieve a working environment 12 13 ## Example Usage 14 15 ```hcl 16 data "netapp_cloud_workenv" "vsa-workenv" { 17 name = "vsaenv" 18 } 19 20 resource "netapp_cloud_volume" "vsa-cifs-volume" { 21 workenv_id = "${data.netapp_cloud_workenv.vsa-workenv.public_id}" 22 svm_name = "${data.netapp_cloud_workenv.vsa-workenv.svm_name}" 23 name = "cifs_vol" 24 ... 25 } 26 ``` 27 28 ## Argument Reference 29 * `name` is the name of the working environment. 30 31 ## Attributes Reference 32 33 * `public_id` - Public ID for the environment. 34 * `tenant_id` - ID of the tenant for the environment. 35 * `svm_name` - The SVM name assigned to the environment. 36 * `is_ha` - Flag indicating if environment is HA (true) or VSA (false).