Skip to content

Commit

Permalink
fixup! e2e: Add test for AzureRM
Browse files Browse the repository at this point in the history
  • Loading branch information
xescugc committed Dec 13, 2021
1 parent 9bbbcb9 commit 5e820e4
Showing 1 changed file with 0 additions and 42 deletions.
42 changes: 0 additions & 42 deletions testdata/azurerm/stack-compute/vm.tf
Original file line number Diff line number Diff line change
Expand Up @@ -175,45 +175,3 @@ module "vm" {
#+ Specifies the name of the OS Disk size in gigabytes.
disk_size = 5
}


### Extra resources to add if needed!

## 1 - Attach extra storage to the VM
## Please copy the next section of code into a separate .tf file in the config branch of your stack
## NOTE! Check the comments to know more about the available options

# a) Creates an extra volume
#resource "azurerm_managed_disk" "extra" {
# name = "${var.customer}-${var.project}-${var.env}-extra-disk"
# location = var.azure_location
# resource_group_name = module.vm.resource_group_name
# storage_account_type = "Standard_LRS" # Available options: Standard_LRS, StandardSSD_ZRS, Premium_LRS, Premium_ZRS, StandardSSD_LRS or UltraSSD_LRS
# create_option = "Empty" # Available options: "Import", "Empty", "Copy", "FromImage", "Restore"
# ##image_reference_id = ... # (Optional) ID of an existing platform/marketplace disk image to copy when create_option is FromImage
# disk_size_gb = 5 # in Gb
#}
## b) Attaches it to the instance created
#resource "azurerm_virtual_machine_data_disk_attachment" "vm_attach" {
# managed_disk_id = azurerm_managed_disk.extra.id
# virtual_machine_id = azurerm_virtual_machine.example.id
# lun = "10" # (Required) - The Logical Unit Number of the Data Disk, which needs to be unique within the Virtual Machine.
# caching = "ReadWrite" # Available options: "None", "ReadOnly" and "ReadWrite"
#}

## 2 - Add more network security rules
## Please copy the next section of code into a separate .tf file in the config branch of your stack
## NOTE! Check the comments to know more about the available options
#resource "azurerm_network_security_rule" "extra_rule" {
# name = "extra_rule"
# priority = 100 # Value : [100-4096]
# direction = "Outbound"
# access = "Allow"
# protocol = "Tcp" # Possible values: "Tcp", "Udp", "Icmp", "Esp", "Ah" or "*"
# source_port_range = "*"
# destination_port_range = "*"
# source_address_prefix = "*"
# destination_address_prefix = "*"
# resource_group_name = module.vm.resource_group_name
# network_security_group_name = module.vm.network_security_group_name
#}

0 comments on commit 5e820e4

Please sign in to comment.