Question

Specifying VPC in salt cloud configuration

Posted August 21, 2020 142 views
Networking

I’m trying to bring up droplets with private networking but it keeps connecting to the default VPC while I need it to connect to a different one.

I’ve tried the following cloud-profile.conf in the hopes that vpc_uuid would pass through but that doesn’t seem to be the case.

do-base:
  provider: digital-ocean
  image: centos-8-x64
  location: lon1
  private_networking: True
**  vpc_uuid: --uuid redacted--**
  ssh_interface: private
  ipv6: true

Does anyone know if there is a way of saying which VPC to use or suggestions for a workaround solution?

Thanks,
Mark.

Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!