Skip to content

Commit

Permalink
Update terraform root main.conf
Browse files Browse the repository at this point in the history
Adding commenting for terraform root main.conf
  • Loading branch information
mohammadmehrani committed Nov 12, 2023
1 parent 18e88e6 commit efac91a
Showing 1 changed file with 6 additions and 1 deletion.
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 efac91a

Please sign in to comment.