
Adjust code file's style. Add `numeric = false` for `random_string.name` in `201-mysql-fs-db` module as the name is used as `azurerm_mysql_flexible_server.default`'s `administrator_login` and the login name doesn't support a name start with number. Add minimum constraints for `random_password.password` in `201-mysql-fs-db` module as the password required a minimum complexity.
Azure resource group
This template deploys an Azure resource group with a random name beginning with "rg-".
Terraform resource types
Variables
Name | Description |
---|---|
resource_group_name_prefix |
(Optional) Prefix of the resource group name that's combined with a random ID so name is unique in your Azure subscription. Value defaults to: rg |
resource_group_location |
(Optional) Azure Region in which to deploy these resources. Value defaults to: eastus |
Example
To see how to run this example, see Create an Azure resource group using Terraform.