aztfexport
aztfexport copied to clipboard
A tool to bring existing Azure resources under Terraform's management
azurerm_backup_protected_vm not being exported (Backup Items from an Azure Recovery Service Vault)
I am working with Azure Recovery Service Vault and I found the backup items are not being exported by the aztfexport process. Those resources are not in the aztfexportSkippedResources, so...
I'm getting the following error on Redis Cache and this error is consistently found across all RGs that have this resource type. `Error: generating Terraform configuration: converting from state to...
Trying to run aztfexport query -n "resourceGroup =~ 'rg-example' and (type contains 'Microsoft.Network/firewallPolicies' or type contains 'Microsoft.Network/firewallPolicies/ruleCollectionGroups' or type contains 'Microsoft.Network/azureFirewalls')" It'll export the state file and will show the...
Hello Team, Is there an option to allow the use of a custom `aztfexportResourceMapping.json`? I wanted to be able to edit the resource_names to something less generic than res-#. I...
**Hi team,** First off, thanks so much for this amazing tool! It's been incredibly useful. I’m currently trying to run an export, but I’ve encountered an issue when using `azurerm`...
I have authenticated to `az cli` using my entraID account. I used `az login --use-device-code` and set my default subscription. I ran the command `aztfexport resource-group ` and receive the...
While i know aztfexport is "azure terraform export", it is also true that most linux distributions now ship with opentofu ( /usr/bin/tofu ) instead. Like a couple previous issue-reports where...
When i tried to export to terraform my resource group with my Managed DevOps Pool , the MDP always is skipped 👍 Following resources are marked to be skipped: -...
https://learn.microsoft.com/en-us/azure/developer/terraform/azure-export-for-terraform/select-custom-resources#using-terraform-import-blocks contains faulty instructions for generating `import.tf` The page instructs to use the `--generate-mapping-file` but it is not working. A new `--generate-import-block` was added in https://github.com/Azure/aztfexport/pull/516 and it appears to...
Hi , I am trying to reverse engineer my azure subscription to terraform code. Definitely , i expect that **aztfexport** tool will do this for me. This is very common...