59 lines
1.3 KiB
Markdown
59 lines
1.3 KiB
Markdown
# Azure Storage Module
|
|
|
|
**Purpose**: Create storage accounts and containers
|
|
**Status**: 🚧 Planned
|
|
|
|
---
|
|
|
|
## Usage
|
|
|
|
```hcl
|
|
module "storage" {
|
|
source = "../../modules/azure/storage"
|
|
|
|
resource_group_name = "rg-example"
|
|
location = "eastus"
|
|
storage_account_name = "stexample"
|
|
|
|
containers = [
|
|
{
|
|
name = "container1"
|
|
access_type = "private"
|
|
}
|
|
]
|
|
|
|
tags = {
|
|
Environment = "production"
|
|
}
|
|
}
|
|
```
|
|
|
|
---
|
|
|
|
## Inputs
|
|
|
|
| Name | Description | Type | Default | Required |
|
|
|------|-------------|------|---------|----------|
|
|
| resource_group_name | Name of the resource group | string | - | yes |
|
|
| location | Azure region | string | - | yes |
|
|
| storage_account_name | Name of the storage account | string | - | yes |
|
|
| account_tier | Storage account tier | string | "Standard" | no |
|
|
| account_replication_type | Replication type | string | "LRS" | no |
|
|
| containers | List of containers to create | list(object) | [] | no |
|
|
| tags | Tags to apply | map(string) | {} | no |
|
|
|
|
---
|
|
|
|
## Outputs
|
|
|
|
| Name | Description |
|
|
|------|-------------|
|
|
| storage_account_id | Storage account ID |
|
|
| storage_account_name | Storage account name |
|
|
| primary_connection_string | Primary connection string (sensitive) |
|
|
|
|
---
|
|
|
|
**Status**: 🚧 Planned - Module structure ready, implementation pending
|
|
|