avm-res-dbforpostgresql-flexibleserver
Azure/avm-res-dbforpostgresql-flexibleserver/azurerm
Terraform Azure Verified Resource Module for DB for Postgre SQL Flexible Server
Azure PostgreSQL Flexible Server module This is a Terraform module for PostgreSQL Flexible Server in the style of Azure Verified Modules. For official modules please see . > [!IMPORTANT] > As the overall AVM framework is not GA (generally available) yet - the CI framework and test automation is not fully functional and implemented across all supported languages yet - breaking changes are expected, and additional customer feedback is yet to be gathered and incorporated. Hence, modules MUST NOT be published at version 1.0.0 or higher at this time. > > All module MUST be published as a pre-release version (e.g., 0.1.0, 0.1.1, 0.2.0, etc.) until the AVM framework becomes GA. > > However, it is important to note that this DOES NOT mean that the modules cannot be consumed and utilized. They CAN
| Name | Type | Description | Default |
|---|---|---|---|
| location | string | Azure region where the resource should be deployed. | required |
| name | string | The name of the this resource. | required |
| resource_group_name | string | The resource group where the resources will be deployed. | required |
| databases | map(object({ name = s | - `name` - (Required) Specifies the name of the PostgreSQL Database, which needs | {} |
| ad_administrator | map(object({ tenant_id | A map to allow you to set a user or group as the AD administrator for a PostgreS | {} |
| create_mode | string | (Optional) The creation mode which can be used to restore or replicate existing | null |
| public_network_access_enabled | bool | (Optional) Whether the server is publicly accessible. Defaults to `false`. | false |
| replication_role | string | (Optional) The replication role for the PostgreSQL Flexible Server. Possible val | null |
| sku_name | string | (Optional) The SKU Name for the PostgreSQL Flexible Server. The name of the SKU, | null |
| storage_tier | string | (Optional) The storage tier for the PostgreSQL Flexible Server. Possible values | null |
| administrator_password | string | (Optional) The Password associated with the `administrator_login` for the Postgr | null |
| authentication | object({ active_directory_ | - `active_directory_auth_enabled` - (Optional) Whether or not Active Directory | null |
| delegated_subnet_id | string | (Optional) The ID of the virtual network subnet to create the PostgreSQL Flexibl | null |
| high_availability | object({ mode | - `mode` - (Required) The high availability mode for the PostgreSQL Flexible Ser | {
"mode": "ZoneRedundant"
} |
| customer_managed_key | object({ key_vault_key_id | A map describing customer-managed keys to associate with the resource. This incl | null |
| enable_telemetry | bool | This variable controls whether or not telemetry is enabled for the module. For m | true |
| server_configuration | map(object({ name = stri | A map to set a PostgreSQL Configuration value on a Azure PostgreSQL Flexible Ser | {} |
| backup_retention_days | number | (Optional) The backup retention days for the PostgreSQL Flexible Server. Possibl | null |
| timeouts | object({ create = optional | - `create` - (Defaults to 1 hour) Used when creating the PostgreSQL Flexible Ser | null |
| tags | map(string) | (Optional) Tags of the resource. | null |
| virtual_endpoint | map(object({ name | A map to allow you to create a Virtual Endpoint associated with a Postgres Flexi | {} |
| administrator_password_wo_version | string | (Optional) An integer value used to trigger an update for `administrator_passwor | null |
| geo_redundant_backup_enabled | bool | (Optional) Is Geo-Redundant backup enabled on the PostgreSQL Flexible Server. De | null |
private_endpoints — A map of the private endpoints created.
resource_id — The resource ID for the resource.database_name — A map of database keys to database name.database_resource_ids — A map of database keys to resource ids.fqdn — The fully qualified domain name of the PostgreSQL Flexible Server.name — The resource ID for the resource.