github.com/koding/terraform@v0.6.4-0.20170608090606-5d7e0339779d/website/source/docs/providers/opc/index.html.markdown (about)

     1  ---
     2  layout: "opc"
     3  page_title: "Provider: Oracle Public Cloud"
     4  sidebar_current: "docs-opc-index"
     5  description: |-
     6    The Oracle Public Cloud provider is used to interact with the many resources supported by the Oracle Public Cloud. The provider needs to be configured with credentials for the Oracle Public Cloud API.
     7  ---
     8  
     9  # Oracle Public Cloud Provider
    10  
    11  The Oracle Public Cloud provider is used to interact with the many resources supported by the Oracle Public Cloud. The provider needs to be configured with credentials for the Oracle Public Cloud 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 Oracle Public Cloud
    19  provider "opc" {
    20    user            = "..."
    21    password        = "..."
    22    identity_domain = "..."
    23    endpoint        = "..."
    24  }
    25  
    26  # Create an IP Reservation
    27  resource "opc_compute_ip_reservation" "production" {
    28    parent_pool = "/oracle/public/ippool"
    29    permanent = true
    30  }
    31  ```
    32  
    33  ## Argument Reference
    34  
    35  The following arguments are supported:
    36  
    37  * `user` - (Optional) The username to use, generally your email address. It can also
    38    be sourced from the `OPC_USERNAME` environment variable.
    39  
    40  * `password` - (Optional) The password associated with the username to use. It can also be sourced from
    41    the `OPC_PASSWORD` environment variable.
    42  
    43  * `identity_domain` - (Optional) The identity domain to use. It can also be sourced from
    44    the `OPC_IDENTITY_DOMAIN` environment variable.
    45  
    46  * `endpoint` - (Optional) The API endpoint to use, associated with your Oracle Public Cloud account. This is known as the `REST Endpoint` within the Oracle portal. It can also be sourced from the `OPC_ENDPOINT` environment variable.
    47  
    48  * `max_retries` - (Optional) The maximum number of tries to make for a successful response when operating on resources within Oracle Public Cloud. It can also be sourced from the `OPC_MAX_RETRIES` environment variable. Defaults to 1.
    49  
    50  * `insecure` - (Optional) Skips TLS Verification for using self-signed certificates. Should only be used if absolutely needed. Can also via setting the `OPC_INSECURE` environment variable to `true`.
    51  
    52  ## Testing
    53  
    54  Credentials must be provided via the `OPC_USERNAME`, `OPC_PASSWORD`,
    55  `OPC_IDENTITY_DOMAIN` and `OPC_ENDPOINT` environment variables in order to run
    56  acceptance tests.