Course outlines for learning terraform.
expected time | requirements |
---|---|
60 minutes | a computer |
Goal: Learn how to create Azure dbaas resources using Terraform.
There are many Azure resources available, lets setup a managed MySQL instance.
Using the azurerm_mysql_server, azurerm_mysql_database and mysql_firewall_rule resources, we’re going to create a managed MySQL instance.
Use the sample code and change these settings:
administrator_login
to ‘my_admin’.administrator_login_password
to my_passw0rd.
You’ll likely run into an error. Try to understand the issue and fix the problem. (Hint: name
.)
Use the documentation to make a firewall. Try not to look at the sample code, but if you’re stuck, use it as inspiration.
Most machines have telnet
installed: telnet YOUR_FQDN 3306
.
Some machines have mysql
installed: mysql -u YOUR_USER -p -h YOUR_FQDN
.
Azure Portal |
version
?version
to this resource?