Questions tagged [azurerm-app-service]

9 questions
3
votes
1 answer

Terraform azurerm_app_service auth_settings new Azure Identity Provider

When using the auth_settings, this is creating my app service settings within the Authentication (Classic) tab. Is there any new way to use terraform to update the Authentication tab?
rodrigogq
  • 1,943
  • 1
  • 16
  • 25
2
votes
1 answer

In Terraform Azure azurerm, How to get App Config Connection String?

Given an app_service: resource "azurerm_resource_group" "example" { name = "example-resources" location = "West Europe" } resource "azurerm_app_service_plan" "example" { name = "example-appserviceplan" location …
1
vote
1 answer

Dynamic Priority change when adding multiple IP Restriction for App Services on Azure using terraform

I'm looking a solution for changing the priority on a dynamic "ip_restriction" the code that I use is variable "ip_address_list" { type = list default = ["20.20.20.3/32" , "10.10.10.2/32"] } site_config { dynamic "ip_restriction"…
1
vote
1 answer

Using Terraform, how to create an Azure App Service for Windows and Docker

My team is attempting to create an Azure App Service that uses Windows Docker Containers, using Terraform. I have tested the docker-basic example, from the Terraform GitHub project, to successfully create a Linux Docker App Service. Next, I used the…
0
votes
1 answer

Automatically determine values for Terraform Azure Private endpoint module

I need a help with a terraform module that I've created. It works perfectly, but I need to add some automation. I created a module which creates multiple private endpoints, but I always need to put the variable values in manually. This is the…
0
votes
1 answer

Terraform differences of azurerm_app_service for linux and azurerm_linux_web_app

Using the azurerm_linux_web_app has been a pain lately, every time I deploy a simple .net core app on linux using azurerm_linux_web_app it tries to replace the resource, I'm using the CI/CD pipelines to deploy the resources. But when I deploy the…
0
votes
0 answers

Create/update multiple certificates in terraform for app service fails with "Cannot modify this webspace because another operation is in progress"

I have the following terraform code resource "azurerm_app_service_certificate" "cert" { for_each = local.certificates_locations name = each.value.certificate_name resource_group_name =…
Alexey Auslender
  • 402
  • 5
  • 18
0
votes
1 answer

Terraform Azure and custom domains for linux webapp deployment slot

Trying to get TF to map custom domains to my deployment slot and not working. resource "azurerm_app_service_slot_custom_hostname_binding" "xxx_staging" { count = terraform.workspace == "prod" ? 1 : 0 app_service_slot_id =…
Stego
  • 87
  • 1
  • 11
0
votes
1 answer

Dynamic IP Restriction for App Services on Azure using terraform

I'm looking for a solution to add multiple ip addresses restriction on the App Service: Below is my code that I'm trying to fix it but I have hard time achieving this: variable "ip_address_list" { type = list default = ["20.20.20.3" ,…