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