updating terraform

This commit is contained in:
comerford0
2025-10-02 09:17:15 +00:00
parent dfcbe54ebe
commit c12311ab9f
2 changed files with 30 additions and 1 deletions
+7 -1
View File
@@ -28,6 +28,12 @@ data "azurerm_ssh_public_key" "kp" {
resource_group_name = "terraform"
}
data "azurerm_ssh_public_key" "sd" {
name = "sbcomsam-d-01"
resource_group_name = "terraform"
}
module "compute" {
source = "../../modules/compute"
resource_group_name = "terraform"
@@ -35,5 +41,5 @@ module "compute" {
subnet_id = module.network.subnet_ids["public"]
vm_size = "Standard_B1s"
admin_username = "azureuser"
ssh_public_key = data.azurerm_ssh_public_key.kp.public_key
ssh_public_key = data.azurerm_ssh_public_key.sd.public_key
}