SQL Database
Overview
{
"sql_database": {
"name": "sql-db-lp-test-{env}",
"sku": { "name": "Standard", "capacity": "10"},
"@sql_server_name": "sql-lp-test-{env}",
"zone_redundant": true,
"backup_redundancy": "Local",
"size_in_bytes": 1073741824,
"external": true,
"resource_group_name": "my-rg-name",
"tags": { "example": "S0" }
}
}
SQL Server Database Reference
| Key | Type | Description |
|---|
name (required) | string | The name of the SQL Server Database(see how to name) |
sku (required) | object of sku | The SKU of the database |
@sql_server_name | string | The name of the SQL Server |
zone_redundant | bool | Whether or not the database is zone redundant (defaults to false) |
backup_redundancy | string | The redundancy of the database (defaults to Local) |
size_in_bytes | int | The maximum size of the database in bytes (defaults to 1GB) |
external | bool | A reference to an existing SQL Server Database (defaults to false) |
resource_group_name | string | The name of the resource group where the resource is located, only with external resources (defaults to the resource group of the deployment) |
tags | object | Additional tags for the resource (defaults to no additional tags) |
SKU
| Key | Type | Description |
|---|
name (required) | string of name | The name of the SKU |
capacity (required) | int | Capacity of the particular SKU |
Name