Hey gang. Need some help. I tried multiple ways, nothing seem to work exactly as i need/expect.
I think my question could be generalized better, but let me try it with my exact use case.
So, for a given VPC, i need to add s3 endpoint to every single route table.
The ec2_vpc_endpoint should accept a list of route_table_ids, but for the life of me i can not get them fom ec2_vpc_route_table_facts.
I tried dumping them into a variable, etc – nothing seems to work
In the example below, i do get that list and iterate over it – which creates multiple vpc endpoints. I need one endpoint, added to multiple route tables.
Any suggestions of how to specify route_table_ids from the ec2_vpc_route_table_facts?
Help would be greatly appretiated.