OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

AWS Terraform target group for vpc endpoints

  • Thread starter Thread starter pmax
  • Start date Start date
P

pmax

Guest
How can I create a target group for a network load balancer containing a VPC endpoint in Terraform? In AWS console, I would have done following steps:


  • Create VPC Endpoint in two subnets to an endpoint service in another VPC


  • Create a target group of type IP and register the IP adresses of the enpoints created in step 1

In terraform, I can create target groups and endpoints, but I don't know how to assign the enpoint's IPs to the target group. Where can I find instructions or an example how to do this? (Creating target groups for type instance is no problem, my question is specific for type IP).
<p>How can I create a target group for a network load balancer containing a VPC endpoint in Terraform?
In AWS console, I would have done following steps:</p>

<ul>
<li><p>Create VPC Endpoint in two subnets to an endpoint service in another VPC</p></li>
<li><p>Create a target group of type IP and register the IP adresses of
the enpoints created in step 1</p></li>
</ul>

<p>In terraform, I can create target groups and endpoints, but I don't know how to assign the enpoint's IPs to the target group. Where can I find instructions or an example how to do this? (Creating target groups for type instance is no problem, my question is specific for type IP).</p>
Continue reading...
 

Latest posts

I
Replies
0
Views
1
impact christian
I
Top