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/16 13:53:31 UTC

[incubator-dlab] branch DLAB-911 created (now 7295736)

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

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


      at 7295736  [DLAB-911]: added creation of Elastic IP address for Endpoint

This branch includes the following new commits:

     new 7295736  [DLAB-911]: added creation of Elastic IP address for Endpoint

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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


[incubator-dlab] 01/01: [DLAB-911]: added creation of Elastic IP address for Endpoint

Posted by om...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 7295736891dc2bcc7284ad7b1fd1f1b5f3e0bc01
Author: Oleh Martushevskyi <Ol...@epam.com>
AuthorDate: Tue Jul 16 16:53:22 2019 +0300

    [DLAB-911]: added creation of Elastic IP address for Endpoint
---
 infrastructure-provisioning/terraform/aws/ssn-k8s/main/main.tf | 4 ++++
 infrastructure-provisioning/terraform/aws/ssn-k8s/main/vpc.tf  | 7 +++++++
 2 files changed, 11 insertions(+)

diff --git a/infrastructure-provisioning/terraform/aws/ssn-k8s/main/main.tf b/infrastructure-provisioning/terraform/aws/ssn-k8s/main/main.tf
index 53103db..da8e517 100644
--- a/infrastructure-provisioning/terraform/aws/ssn-k8s/main/main.tf
+++ b/infrastructure-provisioning/terraform/aws/ssn-k8s/main/main.tf
@@ -48,4 +48,8 @@ output "ssn_subnets" {
 
 output "ssn_k8s_sg_id" {
   value = aws_security_group.ssn_k8s_sg.id
+}
+
+output "endpoint_eip_" {
+  value = aws_eip.k8s-endpoint-eip.allocation_id
 }
\ No newline at end of file
diff --git a/infrastructure-provisioning/terraform/aws/ssn-k8s/main/vpc.tf b/infrastructure-provisioning/terraform/aws/ssn-k8s/main/vpc.tf
index 78e26b6..3c0908e 100644
--- a/infrastructure-provisioning/terraform/aws/ssn-k8s/main/vpc.tf
+++ b/infrastructure-provisioning/terraform/aws/ssn-k8s/main/vpc.tf
@@ -100,6 +100,13 @@ data "aws_subnet" "k8s-subnet-c-data" {
   id = aws_subnet.ssn_k8s_subnet_c.0.id
 }
 
+resource "aws_eip" "k8s-endpoint-eip" {
+  vpc      = true
+  tags = {
+    Name = "${var.service_base_name}-endpoint-eip"
+  }
+}
+
 //resource "aws_eip" "k8s-lb-eip-a" {
 //  vpc      = true
 //  tags = {


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