Skip to content

Conversation

@gerrytan
Copy link

@gerrytan gerrytan commented Dec 2, 2025

When user are unable to export Azure resources to Terraform via portal (due to max limit / unsupported resource type), we want to provide a banner / info message with this doc link: https://learn.microsoft.com/en-us/azure/developer/terraform/azure-export-for-terraform/export-terraform-overview.

This change highlights the key differences of portal vs CLI TF export experience.

@prmerger-automator
Copy link
Contributor

@gerrytan : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 2bb9ad9:

✅ Validation status: passed

File Status Preview URL Details
articles/terraform/azure-export-for-terraform/export-terraform-overview.md ✅Succeeded

For more details, please refer to the build report.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Azure Export for Terraform documentation to clarify the distinction between the portal and CLI export experiences. The changes inform users about the CLI tool's additional capabilities when they encounter limitations with the portal export feature (such as the 1,000 resource limit or unsupported resource types).

Key changes:

  • Updated title and description to explicitly mention "CLI" to differentiate from portal experience
  • Added a new "Comparison with portal export experience" section highlighting CLI advantages
  • Included reference to the portal export experience documentation


This CLI tool provides more features in comparison to the portal experience.

- **Number of resources that can be exported**. In portal only up to 1000 resources can be exported, and the maximum exported configuration payload is 4 MB. Error wil be returned if the limit is exceeded.
Copy link

Copilot AI Dec 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Number formatting: According to the Microsoft Writing Style Guide, numbers 1,000 and above should use commas as thousands separators. "1000" should be formatted as "1,000".

Suggested change
- **Number of resources that can be exported**. In portal only up to 1000 resources can be exported, and the maximum exported configuration payload is 4 MB. Error wil be returned if the limit is exceeded.
- **Number of resources that can be exported**. In portal only up to 1,000 resources can be exported, and the maximum exported configuration payload is 4 MB. Error wil be returned if the limit is exceeded.

Copilot uses AI. Check for mistakes.

This CLI tool provides more features in comparison to the portal experience.

- **Number of resources that can be exported**. In portal only up to 1000 resources can be exported, and the maximum exported configuration payload is 4 MB. Error wil be returned if the limit is exceeded.
Copy link

Copilot AI Dec 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Passive voice: The phrase "Error wil be returned" uses passive voice. According to the Microsoft Writing Style Guide, active voice should be used. Consider rephrasing to "The tool returns an error if the limit is exceeded" or similar active construction.

Copilot generated this review using guidance from repository custom instructions.
# Overview of Azure Export for Terraform CLI

Azure Export for Terraform is a tool designed to help reduce friction in translation between Azure and Terraform concepts.
Azure Export for Terraform (`aztfexport`) is CLI a tool designed to help reduce friction in translation between Azure and Terraform concepts. This tool complements the [portal Terraform export experience](get-started-export-resources-portal.md).
Copy link

Copilot AI Dec 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Grammar error: "is CLI a tool" should be "is a CLI tool". The word order is incorrect.

Suggested change
Azure Export for Terraform (`aztfexport`) is CLI a tool designed to help reduce friction in translation between Azure and Terraform concepts. This tool complements the [portal Terraform export experience](get-started-export-resources-portal.md).
Azure Export for Terraform (`aztfexport`) is a CLI tool designed to help reduce friction in translation between Azure and Terraform concepts. This tool complements the [portal Terraform export experience](get-started-export-resources-portal.md).

Copilot uses AI. Check for mistakes.

This CLI tool provides more features in comparison to the portal experience.

- **Number of resources that can be exported**. In portal only up to 1000 resources can be exported, and the maximum exported configuration payload is 4 MB. Error wil be returned if the limit is exceeded.
Copy link

Copilot AI Dec 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spelling error: "wil" should be "will".

Suggested change
- **Number of resources that can be exported**. In portal only up to 1000 resources can be exported, and the maximum exported configuration payload is 4 MB. Error wil be returned if the limit is exceeded.
- **Number of resources that can be exported**. In portal only up to 1000 resources can be exported, and the maximum exported configuration payload is 4 MB. Error will be returned if the limit is exceeded.

Copilot uses AI. Check for mistakes.
Comment on lines 27 to 28
- **Number of resources that can be exported**. In portal only up to 1000 resources can be exported, and the maximum exported configuration payload is 4 MB. Error wil be returned if the limit is exceeded.
- **Supported resource types**. In portal, some resource types such as Key Vault cannot be exported, but they are supported in the CLI tool.
Copy link

Copilot AI Dec 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Grammar improvement: The phrase "In portal" should be "In the portal" for proper article usage. This applies to both occurrences in this section. According to the Microsoft Writing Style Guide, articles should be used for clarity.

Suggested change
- **Number of resources that can be exported**. In portal only up to 1000 resources can be exported, and the maximum exported configuration payload is 4 MB. Error wil be returned if the limit is exceeded.
- **Supported resource types**. In portal, some resource types such as Key Vault cannot be exported, but they are supported in the CLI tool.
- **Number of resources that can be exported**. In the portal only up to 1000 resources can be exported, and the maximum exported configuration payload is 4 MB. Error wil be returned if the limit is exceeded.
- **Supported resource types**. In the portal, some resource types such as Key Vault cannot be exported, but they are supported in the CLI tool.

Copilot uses AI. Check for mistakes.
Comment on lines 27 to 28
- **Number of resources that can be exported**. In portal only up to 1000 resources can be exported, and the maximum exported configuration payload is 4 MB. Error wil be returned if the limit is exceeded.
- **Supported resource types**. In portal, some resource types such as Key Vault cannot be exported, but they are supported in the CLI tool.
Copy link

Copilot AI Dec 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to the Microsoft Writing Style Guide and the custom coding guidelines for this repository, ordered and unordered lists should use complete sentences with proper punctuation, ending with a period. The list items in this section are incomplete sentences and should be expanded for clarity. For example:

  • "Number of resources that can be exported. In the portal, only up to 1,000 resources can be exported, and the maximum exported configuration payload is 4 MB. An error will be returned if the limit is exceeded."

Copilot generated this review using guidance from repository custom instructions.
@prmerger-automator prmerger-automator bot added the aq-pr-triaged tracking label for the PR review team label Dec 2, 2025
@v-dirichards
Copy link
Contributor

Hi @gerrytan - This pull request was opened in the public repo. PMs should work in the private repo, per the Microsoft Docs contributor guide. We can keep this PR open for review and merge, but would you make future content updates in the private repo? Thank you!


@TomArcherMsft Can you take a look?

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 3841e76:

✅ Validation status: passed

File Status Preview URL Details
articles/terraform/azure-export-for-terraform/export-terraform-overview.md ✅Succeeded

For more details, please refer to the build report.

@gerrytan gerrytan marked this pull request as ready for review December 3, 2025 23:00
@gerrytan gerrytan requested a review from mcleanbyron as a code owner December 3, 2025 23:00
@gerrytan
Copy link
Author

gerrytan commented Dec 3, 2025

@stemaMSFT can you please also review this.

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 1d949ef:

✅ Validation status: passed

File Status Preview URL Details
articles/terraform/azure-export-for-terraform/export-terraform-overview.md ✅Succeeded

For more details, please refer to the build report.

@gerrytan
Copy link
Author

gerrytan commented Dec 3, 2025

#sign-off

@prmerger-automator
Copy link
Contributor

Invalid command: '#sign-off'. Only the assigned author of one or more file in this PR can sign off. @TomArcherMsft

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 422a0e4:

✅ Validation status: passed

File Status Preview URL Details
articles/terraform/azure-export-for-terraform/export-terraform-overview.md ✅Succeeded

For more details, please refer to the build report.

@v-dirichards
Copy link
Contributor

@gerrytan - Thanks for your review. In the public repo, pull requests should be signed off by the author, another member of the content team, or a PM.


@TomArcherMsft Could you take a look? Thanks!

@KarlErickson
Copy link
Contributor

@TomArcherMsft ping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants