Using AWS to add into existing VPC

In Terraform Docs, it seems that it may be required to use the Default AWS VPC. Using AWS Default VPC can be a big security risk and many customers delete this by default.

I need the ability to not use this as I have existing VPCs and want to add resources into this.
I also don’t need to create new VPCs.

Any suggestions would be great.

You could use a datasource to reference any existing VPCs in your region by their ids.

Thanks for the info\suggestion, I’ll start looking into this further.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.