active_directory_auth_enabled |
Set to true to enable Active Directory Authentication |
bool |
true |
no |
ad_admin_objects_id |
azurerm postgresql flexible server active directory administrator's object id |
string |
null |
no |
addon_resource_group_name |
The name of the addon vnet resource group |
string |
"" |
no |
addon_vent_link |
The name of the addon vnet |
bool |
false |
no |
addon_virtual_network_id |
The name of the addon vnet link vnet id |
string |
"" |
no |
admin_objects_ids |
IDs of the objects that can do all operations on all keys, secrets and certificates. |
list(string) |
[] |
no |
admin_password |
The password associated with the admin_username user |
string |
null |
no |
admin_password_length |
Length of random password generated. |
number |
16 |
no |
admin_username |
The administrator login name for the new SQL Server |
string |
null |
no |
allowed_cidrs |
Map of authorized cidrs to connect database |
map(string) |
{} |
no |
backup_retention_days |
The backup retention days for the PostgreSQL Flexible Server. Possible values are between 1 and 35 days. Defaults to 7 |
number |
7 |
no |
charset |
Specifies the Charset for the PostgreSQL Database, which needs to be a valid PostgreSQL Charset. Changing this forces a new resource to be created. |
string |
"utf8" |
no |
cmk_encryption_enabled |
Enanle or Disable Database encryption with Customer Manage Key |
bool |
false |
no |
collation |
Specifies the Collation for the PostgreSQL Database, which needs to be a valid PostgreSQL Collation. Changing this forces a new resource to be created. |
string |
"en_US.utf8" |
no |
create_mode |
The creation mode. Can be used to restore or replicate existing servers. Possible values are Default , Replica , GeoRestore , and PointInTimeRestore . Defaults to Default |
string |
"Default" |
no |
database_names |
Specifies the name of the MySQL Database, which needs to be a valid MySQL identifier. Changing this forces a new resource to be created. |
list(string) |
[ "maindb" ] |
no |
delegated_subnet_id |
The resource ID of the subnet |
string |
null |
no |
enable_diagnostic |
Flag to control creation of diagnostic settings. |
bool |
true |
no |
enabled |
Set to false to prevent the module from creating any resources. |
bool |
true |
no |
environment |
Environment (e.g. prod , dev , staging ). |
string |
"" |
no |
eventhub_authorization_rule_id |
Eventhub authorization rule id to pass it to destination details of diagnosys setting of NSG. |
string |
null |
no |
eventhub_name |
Eventhub Name to pass it to destination details of diagnosys setting of NSG. |
string |
null |
no |
existing_private_dns_zone |
Name of the existing private DNS zone |
bool |
false |
no |
existing_private_dns_zone_id |
n/a |
string |
null |
no |
existing_private_dns_zone_name |
The name of the Private DNS zone (without a terminating dot). Changing this forces a new resource to be created. |
string |
"" |
no |
expiration_date |
Expiration UTC datetime (Y-m-d'T'H:M:S'Z') |
string |
"2034-05-22T18:29:59Z" |
no |
extra_tags |
Additional tags (e.g. map(BusinessUnit ,XYZ ). |
map(string) |
{} |
no |
geo_backup_key_vault_key_id |
Key-vault key id to encrypt the geo redundant backup |
string |
null |
no |
geo_backup_user_assigned_identity_id |
User assigned identity id to encrypt the geo redundant backup |
string |
null |
no |
geo_redundant_backup_enabled |
Should geo redundant backup enabled? Defaults to false. Changing this forces a new PostgreSQL Flexible Server to be created. |
bool |
false |
no |
high_availability |
Map of high availability configuration: https://docs.microsoft.com/en-us/azure/mysql/flexible-server/concepts-high-availability. null to disable high availability |
object({ standby_availability_zone = optional(number) }) |
{ "standby_availability_zone": 1 } |
no |
key_vault_id |
Specifies the URL to a Key Vault Key (either from a Key Vault Key, or the Key URL for the Key Vault Secret |
string |
"" |
no |
label_order |
Label order, e.g. sequence of application name and environment name ,environment ,'attribute' [webserver ,qa ,devops ,public ,] . |
list(any) |
[ "name", "environment" ] |
no |
location |
The Azure Region where the PostgreSQL Flexible Server should exist. Changing this forces a new PostgreSQL Flexible Server to be created. |
string |
"" |
no |
log_analytics_destination_type |
Possible values are AzureDiagnostics and Dedicated, default to AzureDiagnostics. When set to Dedicated, logs sent to a Log Analytics workspace will go into resource specific tables, instead of the legacy AzureDiagnostics table. |
string |
"AzureDiagnostics" |
no |
log_analytics_workspace_id |
Log Analytics workspace id in which logs should be retained. |
string |
null |
no |
log_category |
Categories of logs to be recorded in diagnostic setting. Acceptable values are PostgreSQLFlexDatabaseXacts, PostgreSQLFlexQueryStoreRuntime, PostgreSQLFlexQueryStoreWaitStats ,PostgreSQLFlexSessions, PostgreSQLFlexTableStats, PostgreSQLLogs |
list(string) |
[] |
no |
log_category_group |
Log category group for diagnostic settings. |
list(string) |
[ "audit" ] |
no |
main_rg_name |
n/a |
string |
"" |
no |
maintenance_window |
Map of maintenance window configuration: https://docs.microsoft.com/en-us/azure/mysql/flexible-server/concepts-maintenance |
map(number) |
null |
no |
managedby |
ManagedBy, eg ''. |
string |
"" |
no |
metric_enabled |
Whether metric diagnonsis should be enable in diagnostic settings for flexible Mysql. |
bool |
true |
no |
name |
Name (e.g. app or cluster ). |
string |
"" |
no |
point_in_time_restore_time_in_utc |
The point in time to restore from creation_source_server_id when create_mode is PointInTimeRestore. Changing this forces a new PostgreSQL Flexible Server to be created. |
string |
null |
no |
postgresql_version |
The version of the PostgreSQL Flexible Server to use. Possible values are 5.7, and 8.0.21. Changing this forces a new PostgreSQL Flexible Server to be created. |
string |
"5.7" |
no |
principal_name |
The name of Azure Active Directory principal. |
string |
null |
no |
principal_type |
Set the principal type, defaults to ServicePrincipal. The type of Azure Active Directory principal. Possible values are Group, ServicePrincipal and User. Changing this forces a new resource to be created. |
string |
"Group" |
no |
private_dns |
n/a |
bool |
false |
no |
public_network_access_enabled |
Enable public network access for the PostgreSQL Flexible Server |
bool |
false |
no |
registration_enabled |
Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled |
bool |
false |
no |
repository |
Terraform current module repo |
string |
"" |
no |
resource_group_name |
A container that holds related resources for an Azure solution |
string |
"" |
no |
rotation_policy |
The rotation policy for azure key vault key |
map(object({ time_before_expiry = string expire_after = string notify_before_expiry = string })) |
null |
no |
server_configurations |
PostgreSQL server configurations to add. |
map(string) |
{} |
no |
server_custom_name |
User defined name for the PostgreSQL flexible server |
string |
null |
no |
size |
Size for PostgreSQL Flexible server sku : https://docs.microsoft.com/en-us/azure/postgresql/flexible-server/concepts-compute-storage. |
string |
"D2ds_v4" |
no |
source_server_id |
The resource ID of the source PostgreSQL Flexible Server to be restored. Required when create_mode is PointInTimeRestore, GeoRestore, and Replica. Changing this forces a new PostgreSQL Flexible Server to be created. |
string |
null |
no |
storage_account_id |
Storage account id to pass it to destination details of diagnosys setting of NSG. |
string |
null |
no |
storage_mb |
The max storage allowed for the PostgreSQL Flexible Server. Possible values are 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, and 16777216. |
string |
"32768" |
no |
tier |
Tier for PostgreSQL Flexible server sku : https://docs.microsoft.com/en-us/azure/postgresql/flexible-server/concepts-compute-storage. Possible values are: GeneralPurpose, Burstable, MemoryOptimized. |
string |
"GeneralPurpose" |
no |
virtual_network_id |
The name of the virtual network |
string |
"" |
no |
zone |
Specifies the Availability Zone in which this PostgreSQL Flexible Server should be located. Possible values are 1, 2 and 3. |
number |
null |
no |