Skip to content
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

CLI option: -g/--generate-mapping-file to generate resource mapping file #240

Merged
merged 2 commits into from
Sep 28, 2022

Conversation

magodo
Copy link
Collaborator

@magodo magodo commented Sep 28, 2022

Related to #222

  • In batch mode for rg and query, and also for res, -g will only generate resouce maping file, but not import any resource (interactive mode already has s for the same purpose)
  • Remove the prefix dot of the resource mapping file and skipped resouces file names, to make it noticebale for Linux/Mac users
  • res mode now also exports resource mapping file on a successful run (as a single azure resource might ends up with multiple TF resources)
  • Making the key of resource mapping file case sensitive (to make the key usable for res mode)

…ping file

- In batch mode for `rg` and `query`, and also for `res`, `-g` will only generates resouce maping file, but not import any resource (interactive mode already has <kbd>s</kbd> for the same purpose)
- Remove the prefix dot of the resource mapping file and skipped resouces file names, to make it noticebale for Linux/Mac users
- `res` mode now also exports resource mapping file on a successful run
@magodo magodo mentioned this pull request Sep 28, 2022
5 tasks
@magodo magodo merged commit 68c176a into Azure:main Sep 28, 2022
@magodo magodo added the enhancement New feature or request label Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants