-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Added support for random password
- Loading branch information
Showing
11 changed files
with
175 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ on: | |
- main | ||
paths: | ||
- '**.tf' | ||
- '!examples/**.tf' | ||
- '!_example/**.tf' | ||
|
||
jobs: | ||
release: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
##----------------------------------------------------------------------------- | ||
## Flexible Mysql server module call. | ||
##----------------------------------------------------------------------------- | ||
module "flexible-mysql" { | ||
depends_on = [module.resource_group, module.vnet] | ||
source = "../../" | ||
name = "app" | ||
environment = "test" | ||
resource_group_name = "test-rg" | ||
location = "Central India" | ||
virtual_network_id = "/subscriptions/---------------<vnet_id>---------------" | ||
delegated_subnet_id = "/subscriptions/---------------<delegated_subnet_id>---------------" | ||
mysql_version = "8.0.21" | ||
mysql_server_name = "testmysqlserver" | ||
private_dns = true | ||
zone = "1" | ||
admin_username = "mysqlusername" | ||
admin_password = "ba5yatgfgfhdsv6A3ns2lu4gqzzc" | ||
sku_name = "GP_Standard_D8ds_v4" | ||
db_name = "maindb" | ||
charset = "utf8mb3" | ||
collation = "utf8mb3_unicode_ci" | ||
auto_grow_enabled = true | ||
iops = 360 | ||
size_gb = "20" | ||
##azurerm_mysql_flexible_server_configuration | ||
server_configuration_names = ["interactive_timeout", "audit_log_enabled"] | ||
values = ["600", "ON"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
output "flexible-mysql_server_id" { | ||
value = module.flexible-mysql.mysql_flexible_server_id | ||
description = "The ID of the MySQL Flexible Server." | ||
} | ||
output "azurerm_private_dns_zone_virtual_network_link_id" { | ||
value = module.flexible-mysql.azurerm_private_dns_zone_virtual_network_link_id | ||
description = "The ID of the Private DNS Zone Virtual Network Link." | ||
} | ||
output "azurerm_flexible-mysql_server_configuration_id" { | ||
value = module.flexible-mysql.azurerm_mysql_flexible_server_configuration_id | ||
description = "The ID of the MySQL Flexible Server Configuration." | ||
} | ||
|
||
output "azurerm_private_dns_zone_id" { | ||
value = module.flexible-mysql.azurerm_private_dns_zone_id | ||
description = "The Private DNS Zone ID." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters