Terraform: Apply the value only to first resource

Hi @unity-unity,
it would be helpful if you could share a code base to test with. I’m wondering why it’s important to only apply it to the first resource. Which is your variable for for_each ?

You might use two different aws_vpc_endpoint resource definitions.

1 Like