diff --git a/.gitignore b/.gitignore index a590c3d..f97746c 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,5 @@ /main.tfplan /terraform.tfstate /terraform.tfstate.backup +*.jar +notes-front-end/ \ No newline at end of file diff --git a/main.tf b/main.tf index 221e5f9..3245e27 100644 --- a/main.tf +++ b/main.tf @@ -9,7 +9,7 @@ resource "azurerm_resource_group" "rg" { # Create virtual network resource "azurerm_virtual_network" "my_terraform_network" { - name = "myVnet" + name = "thomasWiikVnet" address_space = ["10.0.0.0/16"] location = azurerm_resource_group.rg.location resource_group_name = azurerm_resource_group.rg.name @@ -17,7 +17,7 @@ resource "azurerm_virtual_network" "my_terraform_network" { # Create subnet resource "azurerm_subnet" "my_terraform_subnet" { - name = "mySubnet" + name = "thomasWiikSubnet" resource_group_name = azurerm_resource_group.rg.name virtual_network_name = azurerm_virtual_network.my_terraform_network.name address_prefixes = ["10.0.1.0/24"] @@ -25,7 +25,7 @@ resource "azurerm_subnet" "my_terraform_subnet" { # Create public IPs resource "azurerm_public_ip" "my_terraform_public_ip" { - name = "myPublicIP" + name = "thomasWiikPublicIP" location = azurerm_resource_group.rg.location resource_group_name = azurerm_resource_group.rg.name allocation_method = "Dynamic" @@ -33,7 +33,7 @@ resource "azurerm_public_ip" "my_terraform_public_ip" { # Create Network Security Group and rule resource "azurerm_network_security_group" "my_terraform_nsg" { - name = "myNetworkSecurityGroup" + name = "thomasWiikNetworkSecurityGroup" location = azurerm_resource_group.rg.location resource_group_name = azurerm_resource_group.rg.name @@ -52,7 +52,7 @@ resource "azurerm_network_security_group" "my_terraform_nsg" { # Create network interface resource "azurerm_network_interface" "my_terraform_nic" { - name = "myNIC" + name = "thomasWiikNIC" location = azurerm_resource_group.rg.location resource_group_name = azurerm_resource_group.rg.name @@ -91,14 +91,14 @@ resource "azurerm_storage_account" "my_storage_account" { # Create virtual machine resource "azurerm_linux_virtual_machine" "my_terraform_vm" { - name = "myVM" + name = "thomasWiikVM" location = azurerm_resource_group.rg.location resource_group_name = azurerm_resource_group.rg.name network_interface_ids = [azurerm_network_interface.my_terraform_nic.id] size = "Standard_DS1_v2" os_disk { - name = "myOsDisk" + name = "thomasWiikOsDisk" caching = "ReadWrite" storage_account_type = "Premium_LRS" } diff --git a/variables.tf b/variables.tf index 287b923..3f24dbd 100644 --- a/variables.tf +++ b/variables.tf @@ -1,6 +1,6 @@ variable "resource_group_location" { type = string - default = "uksouth" + default = "swedencentral" description = "Location of the resource group." } diff --git a/workingFrontEndNotes.png b/workingFrontEndNotes.png new file mode 100644 index 0000000..c6162a0 Binary files /dev/null and b/workingFrontEndNotes.png differ diff --git a/workingFrontEndUsers.png b/workingFrontEndUsers.png new file mode 100644 index 0000000..bff99e9 Binary files /dev/null and b/workingFrontEndUsers.png differ diff --git a/workingServerNotes.png b/workingServerNotes.png new file mode 100644 index 0000000..d432e7a Binary files /dev/null and b/workingServerNotes.png differ