Azure Terraform Export

Johann van der Westhuizen 41 Reputation points
2024-11-18T14:42:09.4966667+00:00

Hi,

I logged into https://preview.portal.azure.com/ today and was looking for the Terraform export part but wasn't able to find it, has it been removed from the Preview Portal or not?

Please let me know.

Thanks.

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,273 questions
{count} votes

Accepted answer
  1. Ashok Gandhi Kotnana 1,185 Reputation points Microsoft Vendor
    2024-11-20T05:31:05.99+00:00

    Hi Johann van der Westhuizen,

    Thankyou patience for the detailed explanation please look into the below solutions

    Portal Updates or Feature Adjustments: Microsoft often updates features in the Azure portal, including the Preview Portal. The Terraform export option may have been temporarily disabled or reconfigured. This has been reported by other users recently, and Microsoft may be preparing updates related to this functionality

    Some users have posted a query related to Terraform and Bicep that they cannot view this option when they export; please refer to their question below
    Refer: https://learn.microsoft.com/en-us/answers/questions/2117601/azure-bicep-is-the-export-template-preview-feature
    **
    Alternate Solution: -

    We have 2 solutions here.

    1.Azure Terrafy – Import your existing Azure infrastructure into Terraform HCL

    Refer: https://techcommunity.microsoft.com/blog/itopstalkblog/azure-terrafy-%e2%80%93-import-your-existing-azure-infrastructure-into-terraform-hcl/3357653

    2.Terraform Import - Use the terraform import command to import existing infrastructure to Terraform state. The terraform import command can only import one resource at a time.
    Refer: https://techcommunity.microsoft.com/discussions/microsoftlearn/importing-terraform-state-in-azure/3421289

    Please let us know if you have any further queries. I’m happy to assist you further.     User's image


    Please do not forget to "Accept the answer” wherever the information provided helps you, this can be beneficial to other community members.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.