Skip to content

Terraform module which just reads additional attributes not currently exported by the azurerm_app_service resource.

Notifications You must be signed in to change notification settings

AdamCoulterOz/terraform-azurerm-webappdata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Additional Requirements

PowerShell Dependencies

As this module uses PowerShell it requires that PowerShell Core and the following modules are installed on the deployment agent:

  • PowerShell Core (~>7.0)
  • PS Module: AzureHelpers (~>0.2.1)
  • Please also install any dependencies of AzureHelpers
Install-Module "AzureHelpers"

Usage Example

provider "shell" {
  environment = {
    AzureClientId     = var.client_id
    AzureTenantId     = var.tenant_id
    AzureSubscription = var.subscription_id
  }

  sensitive_environment = {
    AzureClientSecret = var.client_secret
  }

  interpreter = ["pwsh", "-Command"]
}

module "webapp_data" {
  source            = "AdamCoulterOz/webappdata/azurerm"
  web_app_id        = "/subscriptions/00000000-0000-0000-0000-000000000001/resourceGroups/myrg/providers/Microsoft.Web/sites/mywebapp"
}

About

Terraform module which just reads additional attributes not currently exported by the azurerm_app_service resource.

Topics

Resources

Stars

Watchers

Forks