github.com/candidpartners/terraform@v0.9.5-0.20171005231213-29f5f88820f6/website/source/docs/providers/netapp/index.html.markdown (about)

     1  ---
     2  layout: "netapp"
     3  page_title: "Provider: NetApp OCCM"
     4  sidebar_current: "docs-netapp-index"
     5  description: |-
     6    The NetApp cloud provider is used to interact with volume resources supported by the OCCM. The provider needs to be configured with credentials for the OCCM API.
     7  ---
     8  
     9  # NetApp Provider
    10  
    11  The NetApp cloud provider is used to interact with volume resources supported by the OCCM. The provider needs to be configured with credentials for the OCCM API.
    12  
    13  Use the navigation to the left to read about the available resources.
    14  
    15  ## Example Usage
    16  
    17  ```hcl
    18  # Configure the OCCM API
    19  provider "netapp" {
    20    host            = "..."
    21    email           = "..."
    22    password        = "..."
    23  }
    24  
    25  # Create a volume
    26  resource "netapp_cloud_volume" "my-volume" {
    27    name = "my_nfs_volume"
    28    type = "nfs"
    29  }
    30  ```
    31  
    32  ## Argument Reference
    33  
    34  The following arguments are supported:
    35  
    36  * `host` - The hostname to use, OCCM host address. It can also
    37    be sourced from the `NETAPP_HOST` environment variable.
    38  
    39  * `email` - The email associated with the OCCM user. It can also be sourced from
    40    the `NETAPP_EMAIL` environment variable.
    41  
    42  * `password` - The password to use. It can also be sourced from
    43    the `NETAPP_PASSWORD` environment variable.
    44  
    45  ## Testing
    46  
    47  Credentials must be provided via the `NETAPP_HOST`, `NETAPP_EMAIL`
    48  and `NETAPP_PASSWORD` environment variables in order to run
    49  acceptance tests.