aztfexport
aztfexport copied to clipboard
A tool to bring existing Azure resources under Terraform's management
I've just installed aztfexport using `go install github.com/Azure/aztfexport@latest` When I try to run the binary, it is being blocked by Microsoft Defender's Attack Surface Reduction (ASR) rules. In event log:...
I get errors when trying to authenticate to use tfexport against az china; ![image](https://github.com/Azure/aztfexport/assets/11264689/8512cd05-ab6d-4ba0-9136-eaba66932015) this is without a service principal; this is with service principal and azureprofile.json set to to...
I created a series of resources in my Test-SnowflakeIntegration resource group via the portal. I wanted to export them via aztfexport and ran the following command: `./aztfexport rg --use-azure-cli-cred --non-interactive...
Hello Team, When I try to export the terraform scripts for Microsoft.Network types, I am facing with the errors , Could you please help? Command : aztfexport query -g -r...
Is there a way to specify the installed providers, so that each time it does not tries to download it ? And also is there a way to run below...
I want to install this Package in Azure function SSH which has configuration as follows. Distributor ID: Debian Description: Debian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye I couldn't be...
When you export to a folder it wipes everything inside that folder, it should just add and not wipe it out and add the configs to it.
I'm trying to export a resource group and it was chugging along great until it hit this error: ``` Error: Failed to import /subscriptions/aaaaaaaa-0000-aaaa-aa-aaaaaaaaaaaa/resourceGroups/defaultresourcegroup-eus/providers/Microsoft.OperationsManagement/solutions/SQLAuditing[defaultworkspace-defaultworkspace-aaaaaaaa-0000-aaaa-aa-aaaaaaaaaaaa-eus] as azurerm_log_analytics_solution.res-575: exit status 1 Error:...
When importing a resource group, each resource is failing with the following error: ``` Failed to import /subscriptions/xxxxxx/resourceGroups/xxxxxx/providers/Microsoft.Network/networkSecurityGroups/xxxxxx/securityRules/xxxxxx-TCP-80-Internet as azurerm_network_security_rule.res-9: Error: Inconsistent dependency lock file The following dependency selections recorded...
Hello everyone, I recently attempted to import Azure resources, particularly APIM, using Azure Terrafy, but I encountered some difficulties. I'm wondering if there are any known limitations or issues that...