Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelkrief committed Jun 20, 2023
1 parent 1a19223 commit 6539fbc
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions CHAP14/remoteexec/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
terraform {
required_version = "~> 1.0"
required_providers {
azurerm = {
version = "~> 3.35"
}
}
}

provider "azurerm" {
features {}
}

resource "azurerm_resource_group" "rg" {
name = "rg-demoinfracostor"
location = "West Europe"
}

resource "azurerm_service_plan" "plan-app" {
name = "splaninfracostor"
location = azurerm_resource_group.rg.location
resource_group_name = azurerm_resource_group.rg.name

os_type = "Linux"
sku_name = "B1"
}

resource "azurerm_linux_web_app" "app" {
name = "webappdemobook1001cor"
location = azurerm_resource_group.rg.location
resource_group_name = azurerm_resource_group.rg.name
service_plan_id = azurerm_service_plan.plan-app.id

site_config {}
}

0 comments on commit 6539fbc

Please sign in to comment.