https://pulumi.com logo
#python
Title
a

alert-lock-34522

08/30/2021, 4:58 PM
Morning, I am having an issue with the vpc_endpoint module of pulumi. How can I add multiple subnets to the endpoint. When I tired with the assocaition module it just overrode the existing subnet instead of adding another one?
🦗 1
b

busy-journalist-6936

08/31/2021, 3:59 PM
By chance, is VpcEndpoint a better resource? It's designed to attach to multiple subnet id(s)
a

alert-lock-34522

08/31/2021, 4:34 PM
I used the endpoint but in the note on that page it states only a 1 to 1 connection. When I attempted to add the assoication module afterwards it just overwrote the subnet instead of appending a second one.
Copy code
an association between a VPC endpoint and a single route_table_id) and Subnets - (an association between a VPC endpoint and a single subnet_id
3 Views