github.com/turtlemonvh/terraform@v0.6.9-0.20151204001754-8e40b6b855e8/website/source/docs/providers/openstack/r/objectstorage_container_v1.html.markdown (about)

     1  ---
     2  layout: "openstack"
     3  page_title: "OpenStack: openstack_objectstorage_container_v1"
     4  sidebar_current: "docs-openstack-resource-objectstorage-container-v1"
     5  description: |-
     6    Manages a V1 container resource within OpenStack.
     7  ---
     8  
     9  # openstack\_objectstorage\_container_v1
    10  
    11  Manages a V1 container resource within OpenStack.
    12  
    13  ## Example Usage
    14  
    15  ```
    16  resource "openstack_objectstorage_container_v1" "container_1" {
    17    region = "RegionOne"
    18    name = "tf-test-container-1"
    19    metadata {
    20      test = "true"
    21    }
    22    content_type = "application/json"
    23  }
    24  ```
    25  
    26  ## Argument Reference
    27  
    28  The following arguments are supported:
    29  
    30  * `region` - (Required) The region in which to create the container. If
    31      omitted, the `OS_REGION_NAME` environment variable is used. Changing this
    32      creates a new container.
    33  
    34  * `name` - (Required) A unique name for the container. Changing this creates a
    35      new container.
    36  
    37  * `container_read` - (Optional) Sets an access control list (ACL) that grants
    38      read access. This header can contain a comma-delimited list of users that
    39      can read the container (allows the GET method for all objects in the
    40      container). Changing this updates the access control list read access.
    41  
    42  * `container_sync_to` - (Optional) The destination for container synchronization.
    43      Changing this updates container synchronization.
    44  
    45  * `container_sync_key` - (Optional) The secret key for container synchronization.
    46      Changing this updates container synchronization.
    47  
    48  * `container_write` - (Optional) Sets an ACL that grants write access.
    49      Changing this updates the access control list write access.
    50  
    51  * `metadata` - (Optional) Custom key/value pairs to associate with the container.
    52      Changing this updates the existing container metadata.
    53  
    54  * `content_type` - (Optional) The MIME type for the container. Changing this
    55      updates the MIME type.
    56  
    57  ## Attributes Reference
    58  
    59  The following attributes are exported:
    60  
    61  * `region` - See Argument Reference above.
    62  * `name` - See Argument Reference above.
    63  * `container_read` - See Argument Reference above.
    64  * `container_sync_to` - See Argument Reference above.
    65  * `container_sync_key` - See Argument Reference above.
    66  * `container_write` - See Argument Reference above.
    67  * `metadata` - See Argument Reference above.
    68  * `content_type` - See Argument Reference above.