aztfexport
aztfexport copied to clipboard
A tool to bring existing Azure resources under Terraform's management
New to this tool. After running "Initializing" for little while, it throws error: (4 times same error) ``` initializing provider for the import directories: 4 errors occurred: * task error:...
Hi all, I want to export a specific Azure resource (PostgreSQL Flexible Server) to Terraform. The environment details are the following: - Azure VM (B2s) | 2 CPU / 4...
`resource "azurerm_automation_runbook" "res-10164" { automation_account_name = "my_aa_account_name" content = "my_runbook_content" description = "my_runbook_description." location = "eastus2" log_activity_trace_level = 9 log_progress = false log_verbose = false name = "my_runbook_name" resource_group_name =...
Getting the error during terraform plan on the following lines :: `resource "azurerm_automation_module" "res-9970" { automation_account_name = "my-aa-account-name" name = "AuditPolicyDsc" resource_group_name = "my-aa-rg-name" depends_on = [ azurerm_automation_account.res-13, ] }`
On this part of main.tf :: `resource "azurerm_automation_credential" "res-18" { automation_account_name = "my_aa_account_name" name = "LogAnalyticsWorkspace-Key" resource_group_name = "my_aa_rg_name" username = "LogAnalyticsWorkspace-Key" depends_on = [ azurerm_automation_account.res-13, ] }` Getting this...
I tried to export a resource group and 74/75 resources completed successfully which is amazing. However, one disk I never suspected would be a problem, has failed. The error message...
I'm new to working with aztfexport. After a few attempts, I was able to get the correct flags to begin the export. Once it completes, I see the aztfexportResourceMapping.json, import.tf,...
I tried to export one resource only or whole resource group, however I was not able to get a lot from already existing APIM setup we have in the cloud:...
When you run aztfexport, a WAF policy (azurerm_web_application_firewall_policy) is missing the individual rule overrides. An example of an incomplete export: managed_rules { managed_rule_set { rule_group_override { rule_group_name = "REQUEST-913-SCANNER-DETECTION" }...
Getting error parsing network interface Ip configurations unexpected segment "ipConfigurations/ipconfig1" present at the end of the URI