diff --git a/vm-qdc/main.tf b/vm-qdc/main.tf index 0637742..5eda106 100644 --- a/vm-qdc/main.tf +++ b/vm-qdc/main.tf @@ -72,14 +72,6 @@ resource "azurerm_linux_virtual_machine" "vm" { "ShutdownTime": var.is_24x7 == false? var.shutdownTime : null "StartupTime": var.is_24x7 == false? var.startupTime : null } - -} - -resource "null_resource" "post-vm-qdc" { - - depends_on = [ - azurerm_linux_virtual_machine.vm - ] provisioner "remote-exec" { connection { @@ -126,7 +118,7 @@ resource "null_resource" "post-vm-qdc" { "sudo /home/${local.admin_username}/scripts/feb2021/set-license.sh '${data.azurerm_key_vault_secret.license-sept20.value}'" ] } - + } module "linux-common" {