aztfexport icon indicating copy to clipboard operation
aztfexport copied to clipboard

Not pulling all the configs.

Open EttienneScheepers opened this issue 2 years ago • 5 comments

Hi Guys

I pulled the config from my environment but I see that the main components that I am looking to get the code for are getting skipped. I see VMs and storage are skipped is this a bug or is it working as expected?

Regards Ettienne

EttienneScheepers avatar Aug 05 '22 07:08 EttienneScheepers

@EttienneScheepers Have you tried with the latest release (v0.6.0), where it should be smart enough to deduce those resource types by their ids for you?

magodo avatar Aug 05 '22 08:08 magodo

@magodo Yes, I set up Terrafy yesterday from scratch with the latest build it shows that it skipped it but not sure why.

EttienneScheepers avatar Aug 05 '22 08:08 EttienneScheepers

@EttienneScheepers Could you please elaborate more about how you run the tool? Do you run it via aztfy rg <rgname>? If so, could you please show me the screen that those main resources are marked as "Skipped"?

magodo avatar Aug 05 '22 09:08 magodo

@magodo Yes, I run it via aztfy rg. Here is a screenshot of the files that it skipped. I had a chat with one of my colleagues and he advised he tried to use aztfy in the past and experienced the same issue and never used it again due to this issue.

image

EttienneScheepers avatar Aug 05 '22 09:08 EttienneScheepers

@EttienneScheepers It appears the version you used is prior to v0.6.0. Would you please double check the version?

Meanwhile, could you please run aztfy with AZTFY_LOG_PATH set to a path for logging, and paste the link to the log here (with sensitive info redacted) so that I can further investigate the issue?

magodo avatar Aug 05 '22 12:08 magodo

:wave:

Since we've not heard back here I'm going to close this issue for the moment. Feel free to reopen if still have questions.

magodo avatar Sep 28 '22 03:09 magodo