-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AzureGov export not producing main.tf file #488
Labels
question
Further information is requested
Comments
@edchumpitaz Could you please share the log so that I can further look into, as the command seems correct to me. Also it worth mentioning that "reproduce" the provisioning is a non-goal of this tool. |
I'm having the same issue, did you manage to get it working? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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, provider.tf, and terraform.tf files but not the main.tf file. I tried with and without the --hcl-only flag with no luck. Any insight would be appreciated. Are there additional steps I must take to get the main.tf file? The goal is to get the main.tf file and use it to deploy/redeploy this exported RG & Resources in a test/dev sub.
Command I'm using is aztfexport rg --hcl-only --env "usgovernment" rgname
The text was updated successfully, but these errors were encountered: