-
Notifications
You must be signed in to change notification settings - Fork 192
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
Main.tf not created #580
Comments
Could you checkout the content of |
Hi, |
There has been no successful creation of the main.tf given the instructions above. We have tried multiple times with multiple resource groups. Only provider.tf and terraform.tf get created. Any suggestions? |
Can you share the contents of json and txt files? Also, could you please provide the runtime log (via |
Here you go..I need to do the runtime. But we are experiencing this in
completely different environments which is unusual.
…On Thu, Dec 19, 2024 at 6:04 PM magodo ***@***.***> wrote:
Can you share the contents of json and txt files? Also, could you please
provide the runtime log (via --log-path <path> and --log-level debug)?
—
Reply to this email directly, view it on GitHub
<#580 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKX6Y4LYGIFGUKJRPIUABUT2GNGIDAVCNFSM6AAAAABT3H6TASVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJVHEZDINJZGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
It's not accepting --log-path
"aztfexport --log-path c:\temp rg -o tempdir3 --non-interactive --continue
--hcl-only rg-it-ecc-prod-eus-001"
…On Thu, Dec 19, 2024 at 6:04 PM magodo ***@***.***> wrote:
Can you share the contents of json and txt files? Also, could you please
provide the runtime log (via --log-path <path> and --log-level debug)?
—
Reply to this email directly, view it on GitHub
<#580 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKX6Y4LYGIFGUKJRPIUABUT2GNGIDAVCNFSM6AAAAABT3H6TASVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJVHEZDINJZGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Please put the options after |
Hello,
We followed the following MS article (https://learn.microsoft.com/en-us/azure/developer/terraform/azure-export-for-terraform/export-resources-hcl?tabs=azure-cli) and ran the command "aztfexport resource-group --non-interactive --hcl-only myResourceGroup" and pointed it to the correct resource group. It only created a provider.tf and terraform.tf. It did not create a main.tf. Additional exception files were also created.
Is there any additional prerequisites or steps that were missed to get the main.tf created with all the resource tf code?
The text was updated successfully, but these errors were encountered: