This is a source code from AzureBaseCamp series
- dotnet 5 SDK
- Visual Studio Code
- Azure Function / App Services VSCode Extension
- Azure subscription
- Azure CLI
- Terraform
Open VSCode and go to Extensions tab or press Ctrl + Shift + X
Then Search for "ms-vscode.vscode-node-azure-pack" and install it !!
Clone this repo first!
git clone https://github.com/veeravat/ABC-FireworkProject.gitNavigate to DeploymentTemplate Folder and open with VSCode
cd ./DeploymentTemplate
code .Edit deployFirework terraform file with your parameter
- Name = Your project Name
- location = Azure region to deploy
login to azure cli and deploy the terraform template
*This process may take up to 30 minute to complete
#login to azure
az login
#If you have multiple subsciption please set the default one by using this command
az account set -s <subscript name or id>
#Deploy the terraform template
terraform init
terraform applyOpen the file firework.code-workspace by VSCode
Then right click each project and deploy to the resource that you deploy earlier by the detail below
| Project Name | Deploy Type | Target Name |
|---|---|---|
| fireworkWeb | Deploy to Web App | web-<your-app-name>-view-<random id> |
| fireworkServices | Deploy to Web App | web-<your-app-name>-api-<random id> |
| FireworkServiceBusHandler | Deploy to Function App | fn-<your-app-name>-<random id> |



