All Questions
Tagged with azure-application-gateway terraform-provider-azure
24
questions
6
votes
3
answers
5k
views
Create azure application gateway with static private ip address via terraform
I can't find a way to create an application gateway via terraform with private IP without manually inserting hard coded IP private address.
I tried:
Create a private IP in the application gateway ...
3
votes
1
answer
973
views
Terraform Removes Configurations/Resources Created by the Application Gateway Ingress Controller (AGIC)
I have some Terraform code which deploys AKS behind an Application Gateway along with other infrastructure unrelated to the issue. The code is based on https://learn.microsoft.com/en-us/azure/...
3
votes
4
answers
5k
views
two frontend ports of application gateway are using the same port 443 - Azure application gateway in terraform
I am configuring azure application gateway using terraform.
Following is the module that i wrote:
locals {
backend_address_pool_name = format("appgwbeap-%[1]s-%[2]s%[3]sweb-gw",var....
3
votes
1
answer
773
views
How to avoid updating backend pool of application gateway by terraform script
I am trying to deploy AKS with application gateway ingress controller via terraform.
For which I have created application gateway , AKS (also enabled ingress controller setting) and then deployed YAML ...
2
votes
1
answer
4k
views
Terraform-Azure-Unable to create Private IP configuration for application Gateway StandardV2
I'm trying to create an application gateway (Standard V2) with both public IP and private IP configuration, but upon creation only public IP is being created and private IP configuration is nowhere to ...
2
votes
1
answer
861
views
Terraform state sync with external changes
I have terraform managing my infrastructure in Azure. However, there are cases where the state can get out of sync when other services are changing the infrastructure as well.
For example, I have ...
2
votes
1
answer
152
views
terraform 0.12 application gateway ssl certificate issue
We are trying to upgrade terraform 0.11 to 0.12, and there is an application gateway ssl certificate issue.
It works fine when use like below by terraform 0.11:
ssl_certificate {
name = &...
1
vote
1
answer
1k
views
InternalServerError for Application Gateway and API Management - Azure/Terraform
I'm trying to deploy an infrastructure in Azure via Terraform, the infrastructure is made of an Application Gateway (tier WAF_v2) and an API Management in the backend.
The error that I get after ...
1
vote
1
answer
3k
views
Terraform application gateway Data for certificate is invalid
I am deploying a azure application gateway using terraform. In the resource setting, I have this configuration:
ssl_certificate {
data = filebase64(var.ssl_certificate_path)
name = &...
1
vote
1
answer
2k
views
How to use Terraform dynamic block
I am trying to create a azure app gateway using terraform and my code looks like below:
main.tf
# Create Application Gateway
resource "azurerm_application_gateway" "app_gateway" {
...
1
vote
2
answers
3k
views
Trying to attach SSL certificate on application gateway using azure terraform
I am trying to pass PFX certificate from local machine to code azure terraform but when i am applying this method in terraform its showing one error certificate or password invalid. i have tested ...
1
vote
2
answers
330
views
Terraform - App Gateway - Duplicate SSL Certificate Issue
I have a Wildcard SSL Certificate in my KeyVault. I've got multiple hostnames that needs to use the Wildcard SSL Certificate for. I want to create 3x HTTPS Listerners in my Application Gateway, each ...
1
vote
1
answer
1k
views
Error Key Vault object_id is an invalid UUID - Terraform/Azure
I'm deploying an Azure Application Gateway in Terraform and I want to store my SSL private certificate for the https between Internet and my App-gtw in an Azure Key Vault.
The code, omitting useless ...
0
votes
2
answers
144
views
Terraform - Create Azure Application Targeting Two Web-Apps
I am using Terraform 1.5.5 to create an Azure Application Gateway (SKU-2) targeting two Azure web-apps under a custom domain. I need to use https in communication but am struggling around "app-gw&...
0
votes
1
answer
5k
views
Terraform Error: Failed to query available provider packages
I'm trying to deploy a simple infrastructure in Azure through Terraform, the infrastructure is made of an Application Gateway (with Web Application Firewall, so the WAF_v2 version) with two virtual ...
0
votes
1
answer
2k
views
Error: LinkedAuthorizationFailed on configurating AppGW
I deployed infrastructure using this repo. The logs of my application gateway pod looks like :
Event(v1.ObjectReference{Kind:"Pod", Namespace:"kube-system", Name:"ingress-...
0
votes
1
answer
3k
views
Terraform Create Ingress Application Gateway in AKS Node Resource Group
The AKS node resource group cannot already exist before creating the AKS cluster, so to create an application gateway in the same node resource group means that the application gateway needs to be ...
0
votes
1
answer
564
views
Terraform Apply Throws Error with Azure RM 3.0 and Trying to Provision an App Gateway with User Assigned Managed Identity
I am stuck here with a cyclical issue.
I had an Application Gateway which i provisioned using Azure RM 2.0 provider in Terraform. But i wanted to upgrade to AzureRm Version 3.0 and Terraform ...
0
votes
1
answer
1k
views
Issue with User Assigned Identity with Azure Application Gateway while using with Terraform
I am trying to assign a "User Assigned Identity" to my Azure Application Gateway so that the App Gateway can read SSL certs from a particular Azure Key Vault.
I am following the link --> ...
0
votes
2
answers
783
views
Cannot create an Azure Application gateway using Terraform
I'm trying to create an instance of Application Gateway. While doing so, I get the following error:
Error: creating Application Gateway: (Name "name-gateway-wgrkecswbk" / Resource Group &...
0
votes
1
answer
989
views
not able to deploy application gateway using terraform as resource is taking too long to deploy
Hi I am trying to deploy the application gateway and it's taking lot of time to deploy. Its taking more than 28mins.
module.app-gateway.azurerm_application_gateway.agw: Still creating... [28m38s ...
0
votes
1
answer
488
views
Destroying Rancher2_Cluster with terraform is failing due to aks resources in "deleting" state
We're facing an issue in terraform in combination with Rancher2 and AKS. We're using terraform to deploy a rancher2_cluster with an aks config also creating a new subnet.
while trying to destroy ...
-1
votes
1
answer
136
views
pass a list of maps to Terraform from Azure DevOps variable group
When i want to pass a list of map to a Terraform variable(where i use dynamic block to iterate over this list) i get this error:
│ Cannot use a string value in for_each. An iterable collection is ...
-1
votes
1
answer
490
views
Terraform Dynamic block for Application Gateway
I have the following list of objects defined as a local:
agw_configs = [
{
env = "dev"
function = "events"
...