rancher / tf-rancher-up

MIT License
14 stars 5 forks source link

AWS module do not create vpc or subnet #118

Open zaggash opened 4 months ago

zaggash commented 4 months ago

AWS module do not create vpc or subnet so it fails is nothing is defined as variables nor no subnet exists in default VPC

dkeightley commented 3 months ago

To keep dependencies/code minimal that's correct no VPC/subnet resources are created.. if no subnet_id is provided, the default VPC + subnets will be used by the API call.

The default VPC should have subnets, but you can remove them so possibly the default VPC has been altered which is causing the issue?

If we do want the ability to create VPC resources, we could leverage the official module here to create them with sane defaults