-
Notifications
You must be signed in to change notification settings - Fork 114
[!] Could not find a default VPC #2
Comments
One design choice I made here in the spirit of "reasonable defaults" was to use the default VPC rather than spinning up an entirely separate VPC or asking the user to provide a VPC ID to not litter a user's account and to prevent option sprawl respectively. My thought was that a user encountering this error could just re-create their default VPC (via http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/default-vpc.html#create-default-vpc). It'd be nice to help the user out here though. It seems like this could be tackled a number of different ways. If the default VPC isn't available, we could do one or more of the following options:
I'm learning toward returning a more useful error message as a user might have had good reason not to want a default VPC. Any thoughts/opinions? Thanks so much for opening this. |
I would think, it would be best to provide a VPC ID and Cluster Name on the command line. As we have several Clusters and VPCs that we use to separate out services. |
@lecole Thanks. I think I'm sold on adding cluster as a command line option for I'm still not sure on the above VPC question though. Asking the user to provide a VPC ID seems to introduce mental overhead and could potentially create issues. i.e., I create a load balancer in one VPC, and try to use it in another. Now there's another new magic string I need to correlate. I suppose we could default to the default VPC, and just allow it to be overridden (a la option 1 above). |
@jpignata Sounds like a good plan. But what if you also added the VPC as an option and then also implemented option 1. This would give some control over which VPC you want it to go into (without the error), and also as a default have the "default VPC" as the target deployment location. |
@lecole Thanks for the input! I'll tinker with this over the next day or two and try to get a 0.2.0 release together with something to address these two pain points. |
Sounds good. Great work so far. |
Released v0.2.0 to address the above. |
So we don't have a "default" VPC. (deleted it)
Need the ability to input the "awsvpc networking" as a command line option.
The text was updated successfully, but these errors were encountered: