From 18e88e6b5f3ebd73d1d436863d2d512b2f7965d4 Mon Sep 17 00:00:00 2001 From: Mohammad Mehrani <49093105+mohammadmehrani@users.noreply.github.com> Date: Sun, 12 Nov 2023 20:11:33 +0330 Subject: [PATCH 1/2] Fixing README.md file Fixing an issue on the README.md which made confusion. --- .vscode/settings.json | 7 ++++++- README.md | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 4110d79..e3d6a81 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,8 @@ { - "ansible.python.interpreterPath": "/opt/homebrew/bin/python3" + "ansible.python.interpreterPath": "/opt/homebrew/bin/python3", + "workbench.colorCustomizations": { + "activityBar.background": "#301283", + "titleBar.activeBackground": "#431AB7", + "titleBar.activeForeground": "#FDFCFF" + } } diff --git a/README.md b/README.md index 6760cd4..1dc4445 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ This project focuses on creating a scalable and resilient cloud infrastructure i To get started with the Aurora Project, follow these steps: -1. **Prerequisites**: Install Terraform and set up an Azure account. Ansible will be installed on the VMSS instances. +1. **Prerequisites**: Install Terrafom (only if you want to customize project) and set up an Azure account. 2. **Configuration**: From efac91ad275800edb94bdb5bdaae4232e9d52bce Mon Sep 17 00:00:00 2001 From: Mohammad Mehrani <49093105+mohammadmehrani@users.noreply.github.com> Date: Sun, 12 Nov 2023 20:38:02 +0330 Subject: [PATCH 2/2] Update terraform root main.conf Adding commenting for terraform root main.conf --- terraform/main.tf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/terraform/main.tf b/terraform/main.tf index 2282f4b..ab894a3 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -2,7 +2,6 @@ provider "azurerm" { features {} } provider "random" { - # You can pin a specific version of the Random provider here version = "~> 3.0" } @@ -30,6 +29,9 @@ module "vnet_and_subnet" { location = module.resource_group.location } +# using standard sku +# attaching network profile to load balancer and attach it to same subnet +# enabling boot diangnostics and set it to storage account module "vmss" { source = "./modules/vmss" vmss_name = "Project-Aurora-vmss" @@ -107,6 +109,9 @@ module "nsg" { subnet_id = module.vnet_and_subnet.subnet_id } +# dynamically use the current github repository +# download the whole project zip file frome the respective branch dynamiclly +# inject the branch name from root variable.tf inside module itself module "vmss_extension" { source = "./modules/vmss_extension" extension_name = "ansibleSetup"