You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by om...@apache.org on 2019/07/18 08:05:53 UTC

[incubator-dlab] branch DLAB-terraform updated: Bug fix with IAM role attachment to instance.

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

omartushevskyi pushed a commit to branch DLAB-terraform
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/DLAB-terraform by this push:
     new 842c6cb  Bug fix with IAM role attachment to instance.
     new bb9d332  Merge pull request #169 from AdamsDisturber/DLAB-terraform
842c6cb is described below

commit 842c6cbda3c8bc9553b88ea67b37333e1adfcd41
Author: AdamsDisturber <ad...@gmail.com>
AuthorDate: Thu Jul 18 10:55:43 2019 +0300

    Bug fix with IAM role attachment to instance.
---
 infrastructure-provisioning/terraform/aws/endpoint/main/instance.tf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/infrastructure-provisioning/terraform/aws/endpoint/main/instance.tf b/infrastructure-provisioning/terraform/aws/endpoint/main/instance.tf
index 6a25c9e..e8f192e 100644
--- a/infrastructure-provisioning/terraform/aws/endpoint/main/instance.tf
+++ b/infrastructure-provisioning/terraform/aws/endpoint/main/instance.tf
@@ -31,6 +31,7 @@ resource "aws_instance" "endpoint" {
   key_name        = var.key_name
   subnet_id       = data.aws_subnet.data_subnet.id
   security_groups = ["${aws_security_group.endpoint_sec_group.id}"]
+  iam_instance_profile = aws_iam_instance_profile.endpoint_profile.name
   root_block_device {
     volume_type           = "gp2"
     volume_size           = var.endpoint_volume_size


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org