Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/IrinaSouth/azure-terraform-appservice-yaml-pipeline
Azure App Service deployment example with Terraform and ADO yaml pipeline
https://github.com/IrinaSouth/azure-terraform-appservice-yaml-pipeline
app-service azure azure-devops azure-pipeline azure-terraform azure-terraform-environments terraform terraform-workspaces
Last synced: 3 months ago
JSON representation
Azure App Service deployment example with Terraform and ADO yaml pipeline
- Host: GitHub
- URL: https://github.com/IrinaSouth/azure-terraform-appservice-yaml-pipeline
- Owner: IrinaSouth
- License: mit
- Created: 2021-07-05T02:57:47.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-07-05T03:31:29.000Z (over 3 years ago)
- Last Synced: 2024-07-29T17:04:51.139Z (6 months ago)
- Topics: app-service, azure, azure-devops, azure-pipeline, azure-terraform, azure-terraform-environments, terraform, terraform-workspaces
- Language: HCL
- Homepage:
- Size: 15.6 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Azure app service infrastructure-as-code with Terraform and ADO yaml pipeline
![Screenshot 2021-06-02 at 12 03 54](https://user-images.githubusercontent.com/9538697/124413440-c1290c80-dda4-11eb-8202-0fcf110baa57.png)
---
languages:
- nodejs
- javascriptproducts:
- azure
- azure devops yaml pipelines
- azure-app-service
- terraform
---# Description
This sample demonstrates Azure infrastructure-as-code with Terraform and ADO yaml pipeline. Creates dev and prod environments, builds and tests a tiny Hello World Node.js app and deploys app to Azure App Service. Consequently provides pipelines to destroy dev and prod environments
## Requirements
- Azure Cloud
- Azure DevOps
- [Terraform extension for Azure DevOps](https://marketplace.visualstudio.com/items?itemName=charleszipp.azure-pipelines-tasks-terraform)
- Service principal with permissions to deploy resources in Azure Cloud (create in ADO a Service Principal with alias name 'nodejs-cicd')
- This is the only resources that need to be created manually in advance in Azure in order to store the Terraform state file:
```
resource group name: 'nodejs-cicd-rg'
storage account name: 'tfops'
container name: 'tfstate'
```