This is an automated email from the ASF dual-hosted git repository.

lfrolov pushed a commit to branch DATALAB-2969
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git


The following commit(s) were added to refs/heads/DATALAB-2969 by this push:
     new 8302da8a2 [DATALAB-2969]: moved back to single sg
8302da8a2 is described below

commit 8302da8a2b5986e72371368a9493f1e48d03a4c9
Author: leonidfrolov <[email protected]>
AuthorDate: Mon Aug 15 15:16:57 2022 +0300

    [DATALAB-2969]: moved back to single sg
---
 infrastructure-provisioning/terraform/aws/endpoint/main/instance.tf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/infrastructure-provisioning/terraform/aws/endpoint/main/instance.tf 
b/infrastructure-provisioning/terraform/aws/endpoint/main/instance.tf
index 36d9510ce..666ddad19 100644
--- a/infrastructure-provisioning/terraform/aws/endpoint/main/instance.tf
+++ b/infrastructure-provisioning/terraform/aws/endpoint/main/instance.tf
@@ -28,7 +28,7 @@ resource "aws_instance" "endpoint" {
   instance_type        = var.endpoint_instance_shape
   key_name             = var.key_name
   subnet_id            = data.aws_subnet.data_subnet.id
-  security_groups      = data.aws_security_group.data_sg.id
+  security_groups      = [data.aws_security_group.data_sg.id]
   iam_instance_profile = aws_iam_instance_profile.endpoint_profile.name
   root_block_device {
     volume_type           = "gp2"


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to