Relative Content

Tag Archive for azureterraformterraform-provider-azure

Debugging permissions in Azure API requests

I’m using Terraform to deploy infrastructure with Azure. Terraform makes some requests that, even with debug logging, don’t display the full HTTP request in the logs, so it’s tricky to identify the specific request/issue when a request fails.

Unable to ping azure vm1 to azure vm2

I am trying to implement hub and spoke POC in azure playground. However all resources got implemented but I still can’t ping vm1 to vm2 or vice versa. Below is the code. Please note that I have as pic I have allowed wild card in both vms nsg ports in inbound port. I have deployed vm1 in subnet1 and vm2 in subnet2

Terraform rollback/state update after failed apply on Azure

I’ve been having this issue with Terraform on Azure: when I build some infra that is a bit more involved (multiple resource groups, storage accounts etc) it very often happens that apply fails for any number of reasons (e.g. resources temporary unavailable in the region).