Thanks Tim. I went ahead and opened a bug for this: https://bugs.launchpad.net/juju/+bug/1777487
Cheers, George Kraft On Sun, Jun 17, 2018 at 6:28 PM, Tim Penhey <tim.pen...@canonical.com> wrote: > I don't believe this is possible with bundles at the moment. > > The only placement directives that is currently supported in bundles are: > <machine-id> > new > lxd:new > lxd:<machine-id> > kvm:new > kvm:<machine-id> > > I *think* that is it. > > Tim > > On 16/06/18 05:57, George Kraft wrote: > > Hey folks, > > > > Is there a way to assign units or machines to specific availability > > zones on EC2 when deploying from a bundle? > > > > I see there's a way to do it for standalone machines/units with either > > of the following: > > > > juju add-machine zone=us-east-1c > > juju deploy ubuntu --to zone=us-east-1c > > > > But I'm having trouble finding any way to do it in a bundle. For > > example, I can't use the above placement directive in a bundle: > > > > $ cat test.yaml > > services: > > ubuntu: > > charm: "cs:ubuntu" > > num_units: 1 > > to: > > - "zone=us-east-1c" > > $ juju deploy ./test.yaml > > ERROR cannot deploy bundle: the provided bundle has the following errors: > > invalid placement syntax "zone=us-east-1c" > > > > Anyone know if there's a way to do it? > > > > Thanks, > > George Kraft > > > > > > -- > Juju mailing list > Juju@lists.ubuntu.com > Modify settings or unsubscribe at: https://lists.ubuntu.com/ > mailman/listinfo/juju >
-- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju