Hi,
just joined the community, so I apologise if this question has been asked before. But, when using AWS, is there a preferred / best practice approach to using an existing vpc -not creating a new one- with existing sub-nets?
Thanks in advance,
Alan
If you’re asking about how to pick between different AWS architectures, you’re probably better off in an AWS-centric forum.
If you’re asking how to achieve that in Terraform, then Terraform’s data sources (data
blocks in the configuration) are its answer to “Look up this existing thing so I can reference its ID in other parts of my configuration”.