Azure / Azure/aztfexport

Documentation for creating `import.tf` is outdated, missing `--generate-import-block`

Open
#572 4 comments 0 reactions 0 assignees View on GitHub
documentation
Dominant language
Go
Stars
1.9k
Forks
221
Avg merge
15h 43m
Merged PRs (30d)
9

Description

https://learn.microsoft.com/en-us/azure/developer/terraform/azure-export-for-terraform/select-custom-resources#using-terraform-import-blocks contains faulty instructions for generating `import.tf`
The page instructs to use the `--generate-mapping-file` but it is not working.

A new `--generate-import-block` was added in https://github.com/Azure/aztfexport/pull/516 and it appears to work better instead.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Azure documentation page linked in the issue and compare its --generate-mapping-file instructions with the --generate-import-block option added in pull request #516. Update the import.tf generation guidance to use the working option, then verify that the documented steps produce the intended import.tf.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, terraform
Domain
cli, documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.