db-postgresql-flexible

claranet/db-postgresql-flexible/azurerm

Terraform Module HCL AZURERM

Terraform module composition (feature) for Azure PostGreSQL Flexible Database

Install
module "db-postgresql-flexible" {
source = "claranet/db-postgresql-flexible/azurerm"
version = "8.6.1"
}
plain text: /constructs/tfmod-claranet-db-postgresql-flexible-azurerm/install.txt
⭐ Source on GitHub 📦 Registry page
README

Azure Managed Database - PostgreSQL flexible ![Changelog](CHANGELOG.md) ![Notice](NOTICE) ![Apache V2 License](LICENSE) ![OpenTofu Registry](https://search.opentofu.org/module/claranet/db-postgresql/azurerm/) This module creates an Azure PostgreSQL Flexible server with databases, along with enabled logging and firewall rules. A user is created for each database created in this module. This module does not allow users to create new objects in the public schema regarding vulnerability CVE-2018-1058. Global versioning rule for Claranet Azure modules | Module version | Terraform version | OpenTofu version | AzureRM version | | -------------- | ----------------- | ---------------- | --------------- | | >= 8.x.x | Unverified | 1.8.x | >= 4.0 | | >= 7.x.x | 1.3.x | | >= 3.0 | | >= 6.x.x | 1.x | |

Inputs (39)
NameTypeDescriptionDefault
stackstringProject stack name. required
logs_destinations_idslist(string)List of destination resources IDs for logs diagnostic destination. Can be `Stora required
allowed_cidrsmap(string)Map of allowed CIDRs. required
location_shortstringShort string for Azure location. required
administrator_loginstringPostgreSQL administrator login. required
client_namestringClient name/account used in naming. required
locationstringAzure location. required
resource_group_namestringResource Group name. required
environmentstringProject environment. required
maintenance_windowobject({ day_of_week = opMap of maintenance window configuration.null
zonenumberSpecify the Availability Zone for the PostgreSQL Flexible server.1
recommended_configurations_enabledboolWhether to enable recommended configurations for the PostgreSQL Flexible server.true
sizestringSize for PostgreSQL Flexible server SKU. See [documentation](https://docs.micros"D2ds_v4"
storage_mbnumberStorage allowed for PostgresSQL Flexible server. See [documentation](https://reg32768
delegated_subnetobject({ id = string })ID of the Subnet to create the PostgreSQL Flexible server. No resources to be denull
geo_redundant_backup_enabledboolEnable Geo Redundant Backup for the PostgreSQL Flexible server.false
logs_categorieslist(string)Log categories to send to destinations.null
azure_services_access_enabledboolWhether to allow Azure services to access the PostgreSQL Flexible server.false
configurationsmap(string)PostgreSQL configuration values to set on the PostgreSQL Flexible server.{}
name_suffixstringOptional suffix for the generated name.""
custom_namestringCustom server name.""
authenticationobject({ active_directory_Authentication configuration for the PostgreSQL Flexible server.null
backup_policy_idstringBackup Vault policy ID to use for the PostgreSQL Flexible server.null
postgresql_versionnumberVersion of PostgreSQL Flexible server. Possible values are in the [documentation16
diagnostic_settings_custom_namestringCustom name of the diagnostics settings, name will be 'default' if not set."default"
extra_tagsmap(string)Map of custom tags.{}
administrator_passwordstringPostgreSQL administrator password. Strong password definition in the [documentatnull
tierstringTier for PostgreSQL Flexible server SKU. See [documentation](https://docs.micros"GeneralPurpose"
auto_grow_enabledboolEnable auto grow for the PostgreSQL Flexible server.false
Outputs (15)
resource_firewall_rule — Azure PostgreSQL server firewall rule resource object.
firewall_rules_ids — Map of firewall rules IDs.
resource_configuration — Azure PostgreSQL configuration resource object.
name — Name of the Azure PostgreSQL Flexible server.
databases_ids — Map of databases IDs.
terraform_module — Information about this Terraform module.
resource — Azure PostgreSQL server resource object.
fqdn — FQDN of the PostgreSQL Flexible server.
administrator_login — Administrator login for PostgreSQL Flexible server.
administrator_password — Administrator password for PostgreSQL Flexible server.
databases_names — Map of databases names.
configurations — Map of all PostgreSQL configurations.
resource_database — Azure PostgreSQL database resource object.
module_diagnostics — Diagnostics settings module outputs.
id — ID of the Azure PostgreSQL Flexible server.
Resources (8)
azurerm_data_protection_backup_instance_postgresql_flexible_serverazurerm_postgresql_flexible_serverazurerm_postgresql_flexible_server_configurationazurerm_postgresql_flexible_server_databaseazurerm_postgresql_flexible_server_firewall_ruleazurerm_role_assignmentrandom_passwordterraform_data
Details
FrameworkTerraform Module
LanguageHCL
Version8.6.1
Cloud AZURERM
★ Stars10
Forks7
Total downloads29.6k
Inputs39
Outputs15
Resources8
Examples2
LicenseApache-2.0
Namespaceclaranet
Updated