NOTE: The Azure Service Management Provider has been superseded by the Azure Resource Manager Provider and is no longer being actively developed by HashiCorp employees. It continues to be supported by the community. We recommend using the Azure Resource Manager based Microsoft Azure Provider if possible.
Creates a new storage container within a given storage service on Azure.
resource "azure_storage_container" "stor-cont" { name = "terraform-storage-container" container_access_type = "blob" storage_service_name = "tfstorserv" }
The following arguments are supported:
name
- (Required) The name of the storage container. Must be unique within the storage service the container is located.
storage_service_name
- (Required) The name of the storage service within which the storage container should be created.
container_access_type
- (Required) The 'interface' for access the container provides. Can be either blob
, container
or ``.
properties
- (Optional) Key-value definition of additional properties associated to the storage service.
The following attributes are exported:
id
- The storage container ID. Coincides with the given name
.
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/azure/r/storage_container.html