azurestack_storage_container

Manages an Azure Storage Container.

Example Usage

resource "azurestack_resource_group" "test" {
  name     = "acctestrg"
  location = "westus"
}

resource "azurestack_storage_account" "test" {
  name                     = "accteststorageaccount"
  resource_group_name      = azurestack_resource_group.test.name
  location                 = "westus"
  account_tier             = "Standard"
  account_replication_type = "LRS"

  tags = {
    environment = "staging"
  }
}

resource "azurestack_storage_container" "test" {
  name                  = "vhds"
  resource_group_name   = azurestack_resource_group.test.name
  storage_account_name  = azurestack_storage_account.test.name
  container_access_type = "private"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported in addition to the arguments listed above: