aztfexport
aztfexport copied to clipboard
A tool to bring existing Azure resources under Terraform's management
I am trying to install on ubuntu 20.04 and got an error when downloading Hit:1 http://security.ubuntu.com/ubuntu focal-security InRelease Ign:2 https://packages.microsoft.com/ubuntu/${ver}/prod focal InRelease Hit:3 https://packages.microsoft.com/repos/azure-cli focal InRelease Hit:4 http://archive.ubuntu.com/ubuntu focal InRelease...
Some resources in azure have space in them. This generates bad TF and errors when doing terraform apply TF code: ``` resource "azurerm_monitor_smart_detector_alert_rule" "res-486" { description = "Failure Anomalies notifies...
Would be nice to have some documentation to show how we can use custom resource names instead of res-0, res-1, etc. Maybe the default resource names are taken based on...
I succesfuly generate tf files from a ressource group then i tried to include afterward some containers using a "query --recursive --append" but the default naming rule restart at "0"...
How can we do that ? There's no `resource id` for containers. ``` aztfy resource --append -k -n https://xxxxxxxxx.blob.core.windows.net/thirdtest Error: invalid resource id: id should start with "/" ```
Is there any way to import multiple resource groups in one single state. I tried to --append command but fails. I ran below commands on single empty dir. Sorry I'm...
Would love to have a feature where I can provide an existing state file (and the aztfy mapping file) and then get a HCL output of differences between existing local...
Hi everyone. I'm trying to import a resource group "digitalplatform-dev" (which obviously exists) into azure-held storage account state with this command: ```shell aztfy resource ` >> --backend-type=azurerm ` >> --backend-config=resource_group_name=digitalplatform-state-dev...
Currently in resource group mode, the resources are imported one by one. This is because `terraform` locks the state file during importing a single resource. Since terraform v1.1.0, the `terraform...
I'm not quite sure when this started, but all of a sudden I'm receiving an error when trying to import resources into Terraform. I've essentially followed the Azure guide: https://learn.microsoft.com/en-us/azure/developer/terraform/azure-export-for-terraform/export-advanced-scenarios....