{"id":15874162,"url":"https://github.com/genaker/azureterraformcloud","last_synced_at":"2026-03-18T17:05:44.902Z","repository":{"id":99663154,"uuid":"460705682","full_name":"Genaker/AzureTerraformCloud","owner":"Genaker","description":"Deploy Magento 2 Azure Microsoft Cloud Terraform Script","archived":false,"fork":false,"pushed_at":"2022-02-20T06:05:26.000Z","size":55,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T00:31:22.904Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Genaker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-18T04:11:26.000Z","updated_at":"2022-11-10T21:13:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"7bcb86de-b777-4421-bdfb-e3dc1ff1a764","html_url":"https://github.com/Genaker/AzureTerraformCloud","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Genaker%2FAzureTerraformCloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Genaker%2FAzureTerraformCloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Genaker%2FAzureTerraformCloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Genaker%2FAzureTerraformCloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Genaker","download_url":"https://codeload.github.com/Genaker/AzureTerraformCloud/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246724801,"owners_count":20823543,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-06T01:21:10.815Z","updated_at":"2026-01-11T01:42:18.323Z","avatar_url":"https://github.com/Genaker.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"Have you created an Azure Magento Infrastructre via the Azure portal UI before? If so, how many wor and cliks did it take to do that? Can you do it, again and again, providing the exact same input values to ensure you meet a specific infrastructure? Probably not. You need to automate the process. Create Azure Magento infrastructure with Terraform!\n\nTerraform and Hashicorp is a tool to creates simple to complex Magento infrastructure on-prem or in the real cloud and Not a Adobbes Commerce Cloun(d) solutions. Terraform is wtiten on GO and compiled into binary fileand ested by millions. It reads Magento infrastructure configuration files, creates a state and then ensures your Magento infrastructure is beter and chiper then official Adobe's Magento Cloud.\n\n## Azure Terraform MAgento Cloud Simple Configuration \n\n![image](https://user-images.githubusercontent.com/9213670/154635256-74b9aed8-c9c3-46c0-8a95-92cd26ef58f1.png)\n\n# Open Azure Account\n\nhttps://portal.azure.com/\n\n# Open Cloud Shell\n\n![image](https://user-images.githubusercontent.com/9213670/154619136-2fb559da-2361-44e4-acbc-4a8d119adab5.png)\n\n# Verify the default Terraform installation \n```\nterraform version\n```\n\n# Verify the default Azure subscriptio\n```\naz account show\n```\n\n# Git Clone this Repo \n\n![image](https://user-images.githubusercontent.com/9213670/154619251-dff47f1c-6f37-4de6-b580-5a8a70746ff3.png)\n\n# Authenticate Terraform to Azure\n\n```\naz login\naz account show\n\naz account list --query \"[?user.name=='\u003cmicrosoft_account_email\u003e'].{Name:name, ID:id, Default:isDefault}\" --output Table\n```\n\nKey points:\n\n - Replace the \u003cmicrosoft_account_email\u003e placeholder with the Microsoft account email address whose Azure subscriptions you want to list.\n - With a Live account - such as a Hotmail or Outlook - you might need to specify the fully qualified email address. For example, if your email address is -   magento@gmail.com, you might need to replace the placeholder with live.com#magento@gmail.com.\n\n# Specify service principal credentials in environment variables\n\n```\nexport ARM_SUBSCRIPTION_ID=\"\u003cazure_subscription_id\u003e\"\nexport ARM_TENANT_ID=\"\u003cazure_subscription_tenant_id\u003e\"\nexport ARM_CLIENT_ID=\"\u003cservice_principal_appid\u003e\"\nexport ARM_CLIENT_SECRET=\"\u003cservice_principal_password\u003e\"\n```\n\n## Run Terraform\n\n# Initialize Terraform\nRun terraform init to initialize the Terraform deployment. This command downloads the Azure modules required to manage your Azure resources.\n\n```\nterraform init\n```\n# Create a Terraform execution plan\nRun terraform plan to create an execution plan.\n\n```\nterraform plan -out main.tfplan\n```\n\nThe terraform plan command creates an execution plan, but doesn't execute it. Instead, it determines what actions are necessary to create the configuration specified in your configuration files. This pattern allows you to verify whether the execution plan matches your expectations before making any changes to actual resources.\nThe optional -out parameter allows you to specify an output file for the plan. Using the -out parameter ensures that the plan you reviewed is exactly what is applied.\nTo read more about persisting execution plans and security, see the security warning section.\n\n# Apply a Terraform execution plan\nRun terraform apply to apply the execution plan to your cloud infrastructure.\n\n```\nterraform apply main.tfplan\n```\n\nThe terraform apply command above assumes you previously ran terraform plan -out main.tfplan.\nIf you specified a different filename for the -out parameter, use that same filename in the call to terraform apply.\nIf you didn't use the -out parameter, simply call terraform apply without any parameters.\n\nor just:\n```\nterraform plan\nterraform apply\n```\n\nInput **\"yes\"** here\n\n![image](https://user-images.githubusercontent.com/9213670/154621088-50936034-409d-4b6d-b85f-e9599d4a2bad.png)\n\nDone:\n\n![image](https://user-images.githubusercontent.com/9213670/154627480-16c9e94c-6b8b-4ca4-b195-c88b2e02ab4d.png)\n\nDestroy magento resources\n\n```\nterraform plan -destroy \n```\n\n# Connect via SSH\n\n![image](https://user-images.githubusercontent.com/9213670/154628028-27fb2a7f-24e1-441f-9d07-73c4daebe999.png)\n\nAzure Doc: https://docs.microsoft.com/en-us/azure/developer/terraform/get-started-cloud-shell-bash?tabs=bash#authenticate-to-azure-via-a-microsoft-account\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgenaker%2Fazureterraformcloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgenaker%2Fazureterraformcloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgenaker%2Fazureterraformcloud/lists"}