updating terraform
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user