Relative Content

Tag Archive for azureterraform

The Azure Virtual Machine hostname does not change in terraform

We use custom images to deploy virtual machines in Terraform. Custom images have our standardized settings. However, if you use this custom image to deploy it in Terraform, your hostname will not change and it will unconditionally appear as “rockylinuximage01”.

Azure Cyclecloud

I am trying to create the azure cyclecloud cluster using terraform, can anyone help in this?

Log Analytics workspace does not see existing data rules via terraform

I have problem with data rule. I create terraform code that create Log Analytics workspace and data rule and diag settings and all is fine all create butt when i want to create transformation it did not see existing data rule. Someone can help me or maybe now how to fix? I use azurerm version = “~>3.103.1”
This is my code
`

App Service Plan is never created in Terraform

I’m pretty new to Terraform so I’m probably doing something very stupid but please bear with me.
I’ve got the following script, I run Terraform plan and everything is ok but when I go to apply it, it never ends because it can never finish creating the App Service Plan and then I get a 429 HTTP status code

Loop through a list of Routes in azurerm_route in terraform

I cant seem to figure out how to loop through a set of routes in an azurerm_route resource block. The route table resources consist of over 300+ routes, and i need a way to iterate through the routes as they will add/delete over time.