Azure / aztfexport

A tool to bring existing Azure resources under Terraform's management
https://azure.github.io/aztfexport/
Mozilla Public License 2.0
1.63k stars 190 forks source link

Load balancer configuration not exported fully #533

Closed nabeen-najeeb closed 5 months ago

nabeen-najeeb commented 5 months ago
magodo commented 5 months ago

@nabeen-najeeb Thank your reaching out!

The 1st issue for missing lb rule/probe has been fixed in https://github.com/Azure/aztfexport/pull/524, which is included in the v0.14.1.

The 2nd one is by design, as those other fields are defined as Computed & Optional, which will be omit from exporting by default. If you do want to export all non computed only fields, you can add the option --full-properties.

nabeen-najeeb commented 5 months ago

@magodo Thank you. I am using v0.14.1 and I can see that the fix is not available in the version - https://github.com/Azure/aztfexport/compare/v0.14.1...refs/heads/main.

--full-properties resolved the 2nd issue.

magodo commented 5 months ago

My fault, will do another release soon

magodo commented 5 months ago

https://github.com/Azure/aztfexport/releases/tag/v0.14.2 released