Skip to content

Commit 4a0d5bb

Browse files
authored
Merge pull request #47 from MicrosoftCloudEssentials-LearningHub/logs-monitor
Logs monitor
2 parents b555055 + 8ef9db2 commit 4a0d5bb

File tree

82 files changed

+1013
-369
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+1013
-369
lines changed

0_core-infrastructure/azure-bastion/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ resource "azurerm_virtual_network" "example" {
2020
}
2121

2222
resource "azurerm_subnet" "example" {
23-
name = "AzureBastionSubnet" # Required name for the Bastion subnet
23+
name = "AzureBastionSubnet" # Required name for the Bastion subnet
2424
resource_group_name = azurerm_resource_group.example.name
2525
virtual_network_name = azurerm_virtual_network.example.name
2626
address_prefixes = var.subnet_address_prefixes

0_core-infrastructure/azure-bastion/provider.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ terraform {
77
# Specify the required provider and its version
88
required_providers {
99
azurerm = {
10-
source = "hashicorp/azurerm" # Source of the AzureRM provider
11-
version = "~> 4.16.0" # Version of the AzureRM provider
10+
source = "hashicorp/azurerm" # Source of the AzureRM provider
11+
version = "~> 4.16.0" # Version of the AzureRM provider
1212
}
1313
}
1414
}
1515

1616
provider "azurerm" {
17-
features {} # Enable all features for the AzureRM provider
18-
subscription_id = var.subscription_id # Add your subscription ID here
17+
features {} # Enable all features for the AzureRM provider
18+
subscription_id = var.subscription_id # Add your subscription ID here
1919
}

0_core-infrastructure/azure-bastion/terraform.tfvars

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
# This file provides default values for the variables defined in variables.tf.
33
# These values can be overridden by specifying different values during Terraform execution.
44

5-
resource_group_name = "my-resource-group"
6-
location = "East US"
7-
vnet_name = "my-vnet"
8-
vnet_address_space = ["10.0.0.0/16"]
9-
subnet_name = "my-subnet"
5+
resource_group_name = "my-resource-group"
6+
location = "East US"
7+
vnet_name = "my-vnet"
8+
vnet_address_space = ["10.0.0.0/16"]
9+
subnet_name = "my-subnet"
1010
subnet_address_prefixes = ["10.0.1.0/24"]
11-
public_ip_name = "my-public-ip"
12-
bastion_name = "my-bastion"
13-
subscription_id = "your-subscription-id"
11+
public_ip_name = "my-public-ip"
12+
bastion_name = "my-bastion"
13+
subscription_id = "your-subscription-id"
1414
tags = {
1515
env = "dev"
1616
}

0_core-infrastructure/network-security-group/provider.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ terraform {
77
# Specify the required provider and its version
88
required_providers {
99
azurerm = {
10-
source = "hashicorp/azurerm" # Source of the AzureRM provider
11-
version = "~> 4.16.0" # Version of the AzureRM provider
10+
source = "hashicorp/azurerm" # Source of the AzureRM provider
11+
version = "~> 4.16.0" # Version of the AzureRM provider
1212
}
1313
}
1414
}
1515

1616
provider "azurerm" {
17-
features {} # Enable all features for the AzureRM provider
18-
subscription_id = var.subscription_id # Add your subscription ID here
17+
features {} # Enable all features for the AzureRM provider
18+
subscription_id = var.subscription_id # Add your subscription ID here
1919
}

0_core-infrastructure/public-ip/provider.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ terraform {
77
# Specify the required provider and its version
88
required_providers {
99
azurerm = {
10-
source = "hashicorp/azurerm" # Source of the AzureRM provider
11-
version = "~> 4.16.0" # Version of the AzureRM provider
10+
source = "hashicorp/azurerm" # Source of the AzureRM provider
11+
version = "~> 4.16.0" # Version of the AzureRM provider
1212
}
1313
}
1414
}
1515

1616
provider "azurerm" {
17-
features {} # Enable all features for the AzureRM provider
18-
subscription_id = var.subscription_id # Add your subscription ID here
17+
features {} # Enable all features for the AzureRM provider
18+
subscription_id = var.subscription_id # Add your subscription ID here
1919
}

0_core-infrastructure/resource-group/provider.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ terraform {
77
# Specify the required provider and its version
88
required_providers {
99
azurerm = {
10-
source = "hashicorp/azurerm" # Source of the AzureRM provider
11-
version = "~> 4.16.0" # Version of the AzureRM provider
10+
source = "hashicorp/azurerm" # Source of the AzureRM provider
11+
version = "~> 4.16.0" # Version of the AzureRM provider
1212
}
1313
}
1414
}
1515

1616
provider "azurerm" {
17-
features {} # Enable all features for the AzureRM provider
18-
subscription_id = var.subscription_id # Add your subscription ID here
17+
features {} # Enable all features for the AzureRM provider
18+
subscription_id = var.subscription_id # Add your subscription ID here
1919
}

0_core-infrastructure/subnet/provider.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ terraform {
77
# Specify the required provider and its version
88
required_providers {
99
azurerm = {
10-
source = "hashicorp/azurerm" # Source of the AzureRM provider
11-
version = "~> 4.16.0" # Version of the AzureRM provider
10+
source = "hashicorp/azurerm" # Source of the AzureRM provider
11+
version = "~> 4.16.0" # Version of the AzureRM provider
1212
}
1313
}
1414
}
1515

1616
provider "azurerm" {
17-
features {} # Enable all features for the AzureRM provider
18-
subscription_id = var.subscription_id # Add your subscription ID here
17+
features {} # Enable all features for the AzureRM provider
18+
subscription_id = var.subscription_id # Add your subscription ID here
1919
}

0_core-infrastructure/subnet/terraform.tfvars

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
# This file provides default values for the variables defined in variables.tf.
33
# It allows you to customize the configuration without modifying the variables file.
44

5-
resource_group_name = "example-resource-group"
6-
vnet_name = "example-vnet"
7-
subnet_name = "example-subnet"
8-
location = "East US"
9-
address_space = ["10.0.0.0/16"]
5+
resource_group_name = "example-resource-group"
6+
vnet_name = "example-vnet"
7+
subnet_name = "example-subnet"
8+
location = "East US"
9+
address_space = ["10.0.0.0/16"]
1010
subnet_address_prefixes = ["10.0.1.0/24"]
11-
subscription_id = "your-subscription-id-here"
11+
subscription_id = "your-subscription-id-here"
1212
tags = {
1313
"project" = "example-project"
1414
"owner" = "team-name"

0_core-infrastructure/virtual-network/provider.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ terraform {
77
# Specify the required provider and its version
88
required_providers {
99
azurerm = {
10-
source = "hashicorp/azurerm" # Source of the AzureRM provider
11-
version = "~> 4.16.0" # Version of the AzureRM provider
10+
source = "hashicorp/azurerm" # Source of the AzureRM provider
11+
version = "~> 4.16.0" # Version of the AzureRM provider
1212
}
1313
}
1414
}
1515

1616
provider "azurerm" {
17-
features {} # Enable all features for the AzureRM provider
18-
subscription_id = var.subscription_id # Add your subscription ID here
17+
features {} # Enable all features for the AzureRM provider
18+
subscription_id = var.subscription_id # Add your subscription ID here
1919
}

10_migration-backup/backup/provider.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ terraform {
77
# Specify the required provider and its version
88
required_providers {
99
azurerm = {
10-
source = "hashicorp/azurerm" # Source of the AzureRM provider
11-
version = "~> 4.16.0" # Version of the AzureRM provider
10+
source = "hashicorp/azurerm" # Source of the AzureRM provider
11+
version = "~> 4.16.0" # Version of the AzureRM provider
1212
}
1313
}
1414
}
1515

1616
provider "azurerm" {
17-
features {} # Enable all features for the AzureRM provider
18-
subscription_id = var.subscription_id # Use the subscription ID variable
17+
features {} # Enable all features for the AzureRM provider
18+
subscription_id = var.subscription_id # Use the subscription ID variable
1919
}

0 commit comments

Comments
 (0)