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 f380ed565 [DATALAB-2969]: fixed error
f380ed565 is described below
commit f380ed56546e4ecd23d4a1832cf6b31b8f0a4206
Author: leonidfrolov <[email protected]>
AuthorDate: Mon Aug 15 15:06:14 2022 +0300
[DATALAB-2969]: fixed error
---
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 ead9cad6d..36d9510ce 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 = 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]