This is an automated email from the ASF dual-hosted git repository.
omartushevskyi pushed a commit to branch DLAB-1467
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/DLAB-1467 by this push:
new fbc2ed2 [DLAB-1467]: Added terraform scripts for deploying DLab
endpoint
fbc2ed2 is described below
commit fbc2ed2819dc62430ca3ffd0afa9830811112294
Author: Oleh Martushevskyi <[email protected]>
AuthorDate: Tue Feb 4 11:38:21 2020 +0200
[DLAB-1467]: Added terraform scripts for deploying DLab endpoint
---
infrastructure-provisioning/terraform/azure/endpoint/main/instance.tf | 2 +-
infrastructure-provisioning/terraform/azure/endpoint/main/network.tf | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
a/infrastructure-provisioning/terraform/azure/endpoint/main/instance.tf
b/infrastructure-provisioning/terraform/azure/endpoint/main/instance.tf
index 546cb10..6cadd36 100644
--- a/infrastructure-provisioning/terraform/azure/endpoint/main/instance.tf
+++ b/infrastructure-provisioning/terraform/azure/endpoint/main/instance.tf
@@ -58,7 +58,7 @@ resource "azurerm_virtual_machine" "endpoint_instance" {
disable_password_authentication = false
ssh_keys {
key_data = data.tls_public_key.enpoint_key.public_key_openssh
- path = "/home/${var.dlab_user_name}/.ssh/authorized_keys"
+ path = "/home/ubuntu/.ssh/authorized_keys"
}
}
diff --git
a/infrastructure-provisioning/terraform/azure/endpoint/main/network.tf
b/infrastructure-provisioning/terraform/azure/endpoint/main/network.tf
index c14be83..fa157e3 100644
--- a/infrastructure-provisioning/terraform/azure/endpoint/main/network.tf
+++ b/infrastructure-provisioning/terraform/azure/endpoint/main/network.tf
@@ -79,7 +79,7 @@ resource "azurerm_network_interface" "endpoint-nif" {
name = local.endpoint_nif_name
location =
data.azurerm_resource_group.data-endpoint-resource-group.location
resource_group_name =
data.azurerm_resource_group.data-endpoint-resource-group.name
- network_security_group_id = azure_security_group.enpoint-sg.id
+ network_security_group_id = azurerm_network_security_group.enpoint-sg.id
ip_configuration {
name = "configuration"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]