This message was deleted.
# python
s
This message was deleted.
b
you shouldn't need to use an apply because you're passing outputs (vpc.id) from the vpc object
the apply you have there looks to be resolving the region, how are you populating that?
g
vpc.id
is not a problem, the problem comes from the
region
assigned in
svc = ...
I edited the code, hopefully makes it more readable
The problem is that the service name is always the last item from the
vpc_endpoints
list
serviceName: "com.amazonaws.eu-central-1.s3" => "com.amazonaws.eu-central-1.logs"
okay, cool I solved it using
Outpu.concat
instead of the
apply
it is way less readable but it works
Thank you @billowy-army-68599 you are a legend!