github.com/danp/terraform@v0.9.5-0.20170426144147-39d740081351/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 ```hcl 16 resource "openstack_objectstorage_container_v1" "container_1" { 17 region = "RegionOne" 18 name = "tf-test-container-1" 19 20 metadata { 21 test = "true" 22 } 23 24 content_type = "application/json" 25 } 26 ``` 27 28 ## Argument Reference 29 30 The following arguments are supported: 31 32 * `region` - (Required) The region in which to create the container. If 33 omitted, the `OS_REGION_NAME` environment variable is used. Changing this 34 creates a new container. 35 36 * `name` - (Required) A unique name for the container. Changing this creates a 37 new container. 38 39 * `container_read` - (Optional) Sets an access control list (ACL) that grants 40 read access. This header can contain a comma-delimited list of users that 41 can read the container (allows the GET method for all objects in the 42 container). Changing this updates the access control list read access. 43 44 * `container_sync_to` - (Optional) The destination for container synchronization. 45 Changing this updates container synchronization. 46 47 * `container_sync_key` - (Optional) The secret key for container synchronization. 48 Changing this updates container synchronization. 49 50 * `container_write` - (Optional) Sets an ACL that grants write access. 51 Changing this updates the access control list write access. 52 53 * `metadata` - (Optional) Custom key/value pairs to associate with the container. 54 Changing this updates the existing container metadata. 55 56 * `content_type` - (Optional) The MIME type for the container. Changing this 57 updates the MIME type. 58 59 ## Attributes Reference 60 61 The following attributes are exported: 62 63 * `region` - See Argument Reference above. 64 * `name` - See Argument Reference above. 65 * `container_read` - See Argument Reference above. 66 * `container_sync_to` - See Argument Reference above. 67 * `container_sync_key` - See Argument Reference above. 68 * `container_write` - See Argument Reference above. 69 * `metadata` - See Argument Reference above. 70 * `content_type` - See Argument Reference above.