update code

This commit is contained in:
neil-yechenwei
2022-03-23 10:28:16 +08:00
parent 198b9bdd2f
commit 311ed006e3
4 changed files with 108 additions and 12 deletions

View File

@ -5,7 +5,13 @@ This template deploys an [Azure MySQL Flexible Server Database](https://registry
## Terraform resource types
- [random_pet](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/pet)
- [random_string](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/string)
- [random_password](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/password)
- [azurerm_resource_group](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/resource_group)
- [azurerm_virtual_network](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/virtual_network)
- [azurerm_subnet](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/subnet)
- [azurerm_private_dns_zone](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/private_dns_zone)
- [azurerm_private_dns_zone_virtual_network_link](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/private_dns_zone_virtual_network_link)
- [azurerm_mysql_flexible_server](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/mysql_flexible_server)
- [azurerm_mysql_flexible_database](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/mysql_flexible_database)
@ -13,7 +19,7 @@ This template deploys an [Azure MySQL Flexible Server Database](https://registry
| Name | Description |
|-|-|
| `name_prefix` | (Optional) Prefix of the resource name. Value defaults to: mysqlfs|
| `name_prefix` | (Optional) Prefix of the resource name. Value defaults to: tftest|
| `location` | (Optional) Azure Region in which to deploy these resources. Value defaults to: eastus |
## Example