Skip to main content

All Questions

Tagged with
0 votes
1 answer
172 views

Upgrade azure VM basic SKU to standard using terraform

I am performing the same task, upgrading the azure VM public ip SKU from basic to standard but using terraform code. My plan is Disassociate nic from UI Include SKU = "Standard" in my ...
reshma m nair's user avatar
0 votes
1 answer
1k views

Azure fails to attach disk to VM

I have a VM in zone 1 and 2 and a disk in zone 1, but when I run my script it fails with the following message: AttachVolume.Attach failed for volume "disk-name" : rpc error: code = Unknown ...
Domenico's user avatar
2 votes
1 answer
4k views

How do you SSH in to an Azure VM through an Azure Bastion?

My initial understanding was that an Azure Bastion acts like a lightweight SSH (and RDP) gateway to resources -- specifically, VMs -- on the same virtual network, rather than provisioning a full VM as ...
Xophmeister's user avatar
0 votes
1 answer
751 views

how to fix ProvisioningDisabled for postgres flexible server

I am trying to create a flexible server of postgres and when I tried, the quota exhausted for eastus2. So I tried centralindia and got below error. Error: waiting for creation of the Postgresql ...
Sara June's user avatar
  • 541
0 votes
2 answers
2k views

How to create service delagation to an existing subnet?

Below code will create a service while creating subnet. Is there anyway to create a delegation to existing subnet? The main purpose is, below code will be create error for policy Deny-Subnet-Without-...
Sara June's user avatar
  • 541
0 votes
1 answer
2k views

How to set service_endpoints and delegation in subnet part of vnet in azure using terraform?

I have a working block of terraform vnet,subnet and NSG of it. provider "azurerm" { features {} } resource "azurerm_resource_group" "example" { name = "...
Sara June's user avatar
  • 541
0 votes
2 answers
2k views

How to set logic to create multiple machines on azure using terraform? [closed]

Below is the template I have for azure VM. In Google cloud, we have option to set count for creating multiple machines, as I heard. How to create multiple machines using a single template, so that ...
Sara June's user avatar
  • 541
0 votes
1 answer
1k views

Is it possible to use Terraform and an Azure Key Vault Firewall without having to specify my IP address every time I want to make a change?

I have several VMs in my Azure environment, and each has an associated encryption key. The encryption key is stored in an Azure Key Vault. All of these things are resources in my Terraform scripts. ...
bandarr3000's user avatar
0 votes
1 answer
649 views

How to retrieve private key information when we are creating azure vm from terraform?

I have created a linux centos machine on azure cloud using terraform. I tried to see the content of private key so I can connect later using output variable. But, I got error as I need to set it as ...
uday kiran's user avatar
0 votes
3 answers
4k views

Subnet is not creating with terraform on azure, how to fix it?

I am trying to create two centos 8 machines with terraform on azure. My templates github link When I try to apply, I am getting below error related to policy. Could you please suggest how to fix this? ...
Sara June's user avatar
  • 541
0 votes
1 answer
538 views

Terraform - Dynamic Security Rules not working in Azure

I am unable to see the dynamic rules getting created in Azure Network Security Group (NSG). My template looks ok from validation checks. However, when i run the terraform apply the NSG creates without ...
shaonm's user avatar
  • 1
1 vote
0 answers
1k views

How to map ports in Azure Container Instances via Terraform?

I have two containers in my container group on Azure using Azure Container Instances (ACI), one (container A) exposing ports 80 and 443 to the internet (reverse proxy), the other one (container B) ...
Simao Gomes Viana's user avatar
1 vote
0 answers
67 views

When remediation for policy is activated in Azure?

We create a virtual machine that needs 2 extensions, for that we define and assign 2 customs policies, also we create and activate remediation task to make sure that all virtual machines (new ad old ...
Elias Arellano's user avatar
0 votes
1 answer
308 views

How can attach a backup policy to a VM?

I have a question with azurerm provider for terraform: You have the following resources: azurerm_recovery_services_vault azurerm_backup_policy_vm In order to create a policy and vault for backup a ...
CitizenG1's user avatar
  • 111
0 votes
1 answer
2k views

Terraform: Getting the public IP of a Windows vm in Azure

I have been trying to figure out how to get the public IP of a newly provisioned VM in Azure. I use the example in: https://www.terraform.io/docs/providers/azurerm/d/public_ip.html However it doesnt ...
Casper Leon Nielsen's user avatar

15 30 50 per page