Please vote on this issue by adding a :thumbsup: reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment and review the contribution guide to help.
We have created dynamic private link configuration inside applicate gateway with flag private_link true then create private link configuration otherwise create simple applicate gateway
Error: updating Application Gateway: (Name "ag" / Resource Group "hdgsfsdc"): network.ApplicationGatewaysClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="InvalidResourceReference" Message="Resource /subscriptions/***/resourceGroups/providers/Microsoft.Network/applicationGateways/***/privateLinkConfigurations/private-link referenced by resource /subscriptions/***/resourceGroups/**/providers/Microsoft.Network/applicationGateways/**/frontendIPConfigurations/behdgsfsdc-vpc-feip-private was not found. Please make sure that the referenced resource exists, and that both resources are in the same region." Details=[]
│
│ with module.wandb.module.app_lb.azurerm_application_gateway.default,
│ on ../../modules/app_lb/main.tf line 22, in resource "azurerm_application_gateway" "default":
│ 22: resource "azurerm_application_gateway" "default" {
Expected Behaviour
It should be create private link inside applicate gateway ... but got the error
Is there an existing issue for this?
Community Note
We have created dynamic private link configuration inside applicate gateway with flag private_link true then create private link configuration otherwise create simple applicate gateway
Terraform Version
1.7.4
AzureRM Provider Version
3.17
Affected Resource(s)/Data Source(s)
azurerm_application_gateway
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
It should be create private link inside applicate gateway ... but got the error
Actual Behaviour
Updating Application Gateway: (Name "ag" / Resource Group "behdgsfsdc"): network.ApplicationGatewaysClient#CreateOrUpdate: Failure sending request: StatusCode=400
Steps to Reproduce
Terraform init Terraform plan Terraform apply
Important Factoids
No
References
No solution