Skip to content

Commit 050c213

Browse files
authored
Merge pull request #166929 from seligj95/patch-2
updated since previous version no longer worked
2 parents f0db667 + 4eebb3d commit 050c213

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

articles/app-service/scripts/terraform-secure-backend-frontend.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,15 @@ Browse to the [Azure documentation](/azure/developer/terraform/) to learn how to
3333
To use this file you must change the name property for frontwebapp and backwebapp resources (webapp name must be unique DNS name worldwide).
3434

3535
```hcl
36+
terraform {
37+
required_providers {
38+
azurerm = {
39+
source = "hashicorp/azurerm"
40+
version = "~>2.0"
41+
}
42+
}
43+
}
3644
provider "azurerm" {
37-
version = "~>2.0"
3845
features {}
3946
}
4047
@@ -144,4 +151,4 @@ resource "azurerm_private_endpoint" "privateendpoint" {
144151
## Next steps
145152

146153

147-
> [Learn more about using Terraform in Azure](/azure/developer/terraform/)
154+
> [Learn more about using Terraform in Azure](/azure/developer/terraform/)

0 commit comments

Comments
 (0)