Skip to content

Commit

Permalink
Merge pull request #1 from mohammadmehrani/documention
Browse files Browse the repository at this point in the history
Fixing documentation and adding commenting
  • Loading branch information
amirpouyan-haghighat authored Nov 12, 2023
2 parents b0ee941 + efac91a commit 4e1689c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**:

Expand Down
7 changes: 6 additions & 1 deletion terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ provider "azurerm" {
features {}
}
provider "random" {
# You can pin a specific version of the Random provider here
version = "~> 3.0"
}

Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 4e1689c

Please sign in to comment.