This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch DLAB-1664
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/DLAB-1664 by this push:
new 86e4317 [DLAB-1664]: changed for testing
86e4317 is described below
commit 86e43172f82d2ea560ce6dae208c5effcb37b332
Author: leonidfrolov <[email protected]>
AuthorDate: Wed Apr 1 18:39:41 2020 +0300
[DLAB-1664]: changed for testing
---
infrastructure-provisioning/terraform/aws/endpoint/main/ami.tf | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/infrastructure-provisioning/terraform/aws/endpoint/main/ami.tf
b/infrastructure-provisioning/terraform/aws/endpoint/main/ami.tf
index 8a84590..162759a 100644
--- a/infrastructure-provisioning/terraform/aws/endpoint/main/ami.tf
+++ b/infrastructure-provisioning/terraform/aws/endpoint/main/ami.tf
@@ -20,8 +20,8 @@
#
******************************************************************************
resource "aws_ami" "shared_notebook_ami" {
- count = var.delete_images ? length(var.application_name) : 0
- name =
"${var.service_base_name}-${var.endpoint_id}-${var.application_name[count.index]}-notebook-image"
+ count = var.delete_images ? 1 : 0
+ name = "${var.service_base_name}-${var.endpoint_id}-jupyter-notebook-image"
virtualization_type = "hvm"
root_device_name = "/dev/sda1"
}
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]