Questions tagged [azapi]

9 questions
0
votes
1 answer

Is it possible to deploy multiple Azure resources in a single azapi_resource?

My employer's Azure estate is heavily policied, which results in complications when trying to provisioning infrastructure with the AzureRM Terraform provider. For example, the Azure Key Vaults should use private link policy makes it impossible to…
simon-pearson
  • 1,601
  • 8
  • 10
0
votes
0 answers

Azure tag inheritance preview future using terraform

It seems nice and easy to enable the tag inheritance preview feature in the Azure portal. See here https://learn.microsoft.com/en-us/azure/cost-management-billing/costs/enable-tag-inheritance, But I'd like to do this using Terraform. I think the…
pete
  • 1
0
votes
2 answers

Using Terraform with azapi_resource Provider I'm Unable to Create a Slack Connection Returns "ApiNotFound"

I'm attempting to convert an ARM template to Terraform that starts of by creating a Microsoft.Web/connections resource to Slack. I keep running into an issue that has me stumped. Using the following Terraform: provider "azurerm" { features…
Zach Johnson
  • 682
  • 7
  • 14
0
votes
1 answer

How to authorize Azure gmail connector when deploying through Terraform

I am deploying a Logic App to Azure using Terraform, where I use the newer azapi provider. The logic app is a simple one where it sends an email to me whenever an article is published to an RSS feed. For the logic app, I need two API connections for…
Akila Gamage
  • 43
  • 10
0
votes
1 answer

How to deploy Azure API Connection through Terraform with the status 'connected'

I am using Azure/azapi provider (azapi_resource) to create API connection on Azure. Right now the connection gets deployed with everything I need. However the status of the connector is error until I authorize it through the portal. Given below is…
Akila Gamage
  • 43
  • 10
0
votes
0 answers

Is there a way to use token:tenantId parameter in Terraform

I'm moving my ARM template codebase into Terraform. For API Connections (Microsoft.Web/connections), I use azapi provider. In the way of shifting the parameters into the azapi_resource block, I have the following nonSecretParameters in my ARM…
Akila Gamage
  • 43
  • 10
0
votes
1 answer

Azure CDN Multi-Origin endpoint with terraform azapi provider

I'm trying to create an Azure CDN endpoint with one (or more) origin group(s) where each origin group has one or more origins. I have the following code which - indeed - does not work because I'm referencing the endpoint from the origin group…
bazsibazsi
  • 121
  • 9
0
votes
1 answer

Container App Environment creation timing out

Where I work has just started migrating to the cloud. We've successfully deployed a number of resources using Terraform and Pipelines into Azure. Where we are running into issues is deploying a Container App Environment, we have code that was…
0
votes
0 answers

Azure - Create Function App hostkey with Terraform azapi/bicep/powershell

I'm working on automating the rotation of my azure function app's host key, which is used to maintain a more secure connection between my API Management and my function apps. The issue is that I can not figure out how to accomplish this based on the…
Jake Boomgaarden
  • 3,394
  • 1
  • 17
  • 31