https://github.com/weeyin83/speaking-record-terraform
Deploy an Azure SQL server & database using Terraform
https://github.com/weeyin83/speaking-record-terraform
azure azure-sql-server terraform
Last synced: 21 days ago
JSON representation
Deploy an Azure SQL server & database using Terraform
- Host: GitHub
- URL: https://github.com/weeyin83/speaking-record-terraform
- Owner: weeyin83
- Created: 2023-12-18T14:58:53.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-22T18:54:42.000Z (almost 2 years ago)
- Last Synced: 2025-03-21T12:22:18.523Z (about 1 year ago)
- Topics: azure, azure-sql-server, terraform
- Language: HCL
- Homepage:
- Size: 861 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Funding: .github/funding.yml
Awesome Lists containing this project
README
## Using Azure SQL and PowerBI to report on Speaking Events
This repository contains the Terraform files you can use to create the necessary Azure components to follow along this blog post: [https://www.techielass.com/speaking-reports/](https://www.techielass.com/speaking-reports/)
With my blog post I walk you through deploying the necessary Azure components using [Azure CLI](https://learn.microsoft.com/cli/azure/) commands. This is an alternative deployment method you can follow if you prefer, it will deploy the same components.
## How to deploy the Terraform
The first thing you need to do is update the [variables.tf](https://github.com/weeyin83/Speaking-Record-Terraform/blob/main/variables.tf) file with variables that match your environment. Specifically you want to update the "allowed_ip_address" with your own IP address. Doing so will allow the SQL server firewall to allow your IP address access to it once it's deployed.
If you don't know what your public IP address is you can use the [https://whatismyipaddress.com/](https://whatismyipaddress.com/) website.
Once you've updated the variables you are ready to deploy the Terraform files.
If you are doing this from your local machine, ensure you have the correct [Terraform components installed](https://www.techielass.com/introduction-to-terraform/).
Then you can issue the commands:
```bash
terraform init
```
Then
```bash
terraform apply -auto-approve
```