databases/mssql_managed_database¶
Overview¶
This page documents the Terraform module implementation, key configuration surfaces, and how it integrates with CAF.
Dependency diagram (Mermaid)¶
graph TD
azapi_resource.manageddb["azapi_resource.manageddb"]
azurecaf_name.manageddb["azurecaf_name.manageddb"]
azapi_resource.manageddb --> azurecaf_name.manageddb
Module Reference¶
Category: databases
Path: modules/databases/mssql_managed_database
Azure Resources: azapi_resource, azurecaf_name
Inputs¶
| Name | Description | Type | Required | Default | Validation |
|---|---|---|---|---|---|
global_settings |
Global settings object (see module README.md) | any |
yes | - |
- |
server_name |
any |
yes | - |
- | |
settings |
The settings for the Azure resource. | any |
yes | - |
- |
base_tags |
Base tags for the resource to be inherited from the resource group. | map(any) |
yes | - |
- |
resource_group_name |
(Required) The name of the resource group where to create the resource. | string |
yes | - |
- |
location |
(Required) Specifies the supported Azure location where to create the resource. Changing this forces a new resource t... | string |
yes | - |
- |
sourceDatabaseId |
any |
no | - |
- | |
resource_group_id |
any |
yes | - |
- |
Outputs¶
| Name | Description | Sensitive | Value |
|---|---|---|---|
name |
SQL Managed DB Name | - | azurecaf_name.manageddb.result |
id |
SQL Managed DB Id | - | jsondecode(azapi_resource.manageddb.output).properties.outputs.id.value |
Sources¶
modules/databases/mssql_managed_database/azurecaf_name.tfmodules/databases/mssql_managed_database/locals.tfmodules/databases/mssql_managed_database/main.tfmodules/databases/mssql_managed_database/managed_database.tfmodules/databases/mssql_managed_database/outputs.tfmodules/databases/mssql_managed_database/variables.tf