AWS EKS endpoint resolution from peered VPC

Thanks Robert for your response, Its working fine as expected :slight_smile:
Could you please help to give some inputs on this topic as well

Shellscript variable to another resource in terraform Terraform

Hi All, We are planning to create a terraform resource for creating private hosted Zone and associate a load balancer to the private hosted zone but to get the load balancer name we have to run a shell script. Is there a way I can pass the output of the shell script as a variable to the private hosted zone resource.

Actually we are trying to AWS route 53 private hosted zone through terraform for a load balancer that as not created as part of terraform. So we plan to run a shell script inside a null resource and get the load balancer name and store it in terraform output, the other resource for private hosted zone creation in terraform will use this output to create private hosted zone