saltstack / salt

Software to automate the management and configuration of any infrastructure or application at scale. Install Salt from the Salt package repositories here:
https://docs.saltproject.io/salt/install-guide/en/latest/
Apache License 2.0
14.19k stars 5.48k forks source link

Salt-Cloud provider for Digital Ocean requires a way to specify the VPC to use #58265

Open Nexinal opened 4 years ago

Nexinal commented 4 years ago

The Salt-Cloud provider for Digital Ocean (DO) allows you to connect the new VM/Droplet to private networking using DO's VPC functionality but doesn't allow you to specify the VPC you want to connect to, it only uses the default VPC as specified in your DO account. Unfortunately, DO also don't allow you to change the default.

A sample provider.conf file would be along the lines of:

digital-ocean:
   private_networking: true
   vpc:  my-vpc-name

which would translate to adding the vpc_uuid parameter in the API call to DO.

sagetherage commented 3 years ago

@waynew this is good one for Test Clinic since it has a PR that needs a test case. Assigning you only for that reason and won't put into a committed release until tests are written.