florian25686 / terraform-azurerm-appservice

Terraform Module for deploying an Azure App Service
MIT License
0 stars 0 forks source link

terraform-azurerm-appservice

Terraform

Deploys an Azure Application Service

This Terraform module deploys an Application Service on Azure

NOTES

Usage in Terraform 1.0

module "appserviceplan" {
  source                = "github.com/imjoseangel/terraform-azurerm-appserviceplan"
  name                  = var.appsp_name
  resource_group_name   = var.appsp_rsg
  location              = var.location
  create_resource_group = true
}

module "appservice" {
  source                = "github.com/imjoseangel/terraform-azurerm-appservice"
  name                  = var.appsvc_name
  resource_group_name   = var.appsvc_rsg
  location              = var.location
  app_service_plan_id   = module.appserviceplan.id
  create_resource_group = false
  auth_settings_enabled = true

  depends_on = [
    module.appserviceplan
  ]
}

Authors

Originally created by imjoseangel

License

MIT