Questions tagged [terraform-provider-azure]
The terraform-provider-azure tag has no usage guidance, but it has a tag wiki.
terraform-provider-azure
2,414
questions
0
votes
1
answer
37
views
How to Start postgres.exe and Change Postgres Account on an Azure Virtual Machine Using Terraform
I am using an Image in Azure Galleries to create an Azure Virtual Machine. The operating system is Windows (Windows Server 2022 Datacenter Azure Edition). The Postgresql program has been pre-installed ...
0
votes
1
answer
41
views
How can I use Terraform to create a key vault access policy for my azurerm_windows_function_app_slot?
I created a resource azurerm_windows_function_app_slot.
data "azurerm_windows_function_app" "reconciliationFunctionApp" {
name = "${local.funcprefix}-func&...
-1
votes
0
answers
74
views
At which step does terraform do the Azure Resource Manager Resource Provider Registrations?
The main question is in the title, but there are little to no information available which discuss the process of terraform registering the AzureRM Resource Providers. So I will include a small ...
1
vote
1
answer
38
views
I need to setup set programmatically - via Terraform - the 'Outbound internet traffic'
Like in the image, i need to setup the 'Outbound internet traffic' programmatically but I don't understand where to search for it.
In the azure portal I go to the web app -> click on network name ...
0
votes
0
answers
38
views
Terraform the Creation on a Azure Standard Logic App and "SQL Connector"
I would like to automate the deployment of a standard Azure logic app that does the following…
Starts with a reoccurrence trigger (this i know how to do)
Using a “sql connector” (think I should use ...
0
votes
1
answer
832
views
Not able to set module name in Terragrunt config
I have a multi-environment infrastructure in Terragrunt where I want to deploy multiple instances of a module "resource-group" up to this Point the configuration is identical besides later ...
1
vote
0
answers
98
views
How to link existing Azure function to static web app using Terraform and FastAPI?
I am trying to link an existing Azure function to a static web app using Terraform and FastAPI. Provisioning and deployment in devops works fine, but the URL is not working properly.
When I request ...
0
votes
1
answer
51
views
Create private endpoint for Azure App Service Environment_v3 using Terraform
I need to create a new private endpoint for an Azure App Service Environment_v3 using Terraform but I am unable to come up with the code since the sub-resource type for App Service Environment is not ...
0
votes
1
answer
36
views
Azure Application gateway IPs allowlist terraform
I have the following application gateway defined in terraform
resource "azurerm_application_gateway" "app_gateway" {
name = "agw-${local.application_context}...
0
votes
1
answer
43
views
Update the ImageReference property of multiple Azure Virtual Desktop (AVD) VM Hosts
We have hundreads of Azure Virtual Desktop (AVD) VMs across multiple AVD Host Pools deployed via the Terraform. We have tested to upgrade those VMs via the Intune Or SSCM.
However, OS gets updated on ...
0
votes
1
answer
75
views
How to Make a Terraform Script Reusable for Multiple Clients?
I am aware this is probably a VERY dumb question. But I can't seem to find the answer!
I've been studying Terraform for a few days now, and I've created a script to set up various infrastructure/...
0
votes
2
answers
81
views
how to variablize the resource attribute as input value in terraform
I am trying to use below code
data "azurerm_resource_group" "rg_tst_na" {
name = "test1"
}
data "azurerm_resource_group" "rg_dev_na" {
name ...
0
votes
3
answers
55
views
Terraform and Azure policy interaction issue
We have a deployment of a VNET with bicep which works fine. Moving to Terraform and there are issues with Azure policy.
We have a policy which denies the creation of subnets with no NSGs. This is fine ...
1
vote
0
answers
107
views
Having issues with provider definition when configuring Terraform for Azure in YAML
I'm working on an ambitious project to define Terraform configuration in YML for Azure but am having issues on handling the provider block. Here are the details.
Why YML? Two main reasons:
I'd like ...
0
votes
1
answer
37
views
Terraform - Azure DataFactory Pipeline empty after runnig succsesfully
i'm currently testing Terraform to deploy Azure DataFactory Pipelines, i generate the Pipeline JSON File in the Azure DataFactory, then copy it into my Repo.
When running Terraform apply, it generates ...