You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by lf...@apache.org on 2020/04/01 12:04:58 UTC
[incubator-dlab] branch DLAB-1664 updated: [DLAB-1664]: changed
resource block AMI
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 f4d754b [DLAB-1664]: changed resource block AMI
f4d754b is described below
commit f4d754be92dabb2b44b7cb6829eddb67645cca79
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Wed Apr 1 15:04:41 2020 +0300
[DLAB-1664]: changed resource block AMI
---
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 007afb1..9b921b2 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" {
- for_each = var.application_name
- name = "${var.service_base_name}-${var.endpoint_id}-${var.application_name}-notebook-image"
+ count = length(var.application_name)
+ name = "${var.service_base_name}-${var.endpoint_id}-${var.application_name[count.index]}-notebook-image"
virtualization_type = "hvm"
root_device_name = "/dev/sda1"
force_destroy = true
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org