<div dir="ltr"><div>Hey folks,</div><div><br></div><div>Is there a way to assign units or machines to specific availability zones on EC2 when deploying from a bundle?</div><div><br></div><div>I see there's a way to do it for standalone machines/units with either of the following:</div><div><span style="font-family:monospace,monospace"><br></span></div><div><span style="font-family:monospace,monospace">juju add-machine zone=us-east-1c</span></div><div><span style="font-family:monospace,monospace">juju deploy ubuntu --to zone=us-east-1c</span></div><div><br></div><div>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:</div><div><span style="font-family:monospace,monospace"><br></span></div><div><span style="font-family:monospace,monospace">$ cat test.yaml<br>services:<br>  ubuntu:<br>    charm: "cs:ubuntu"<br>    num_units: 1<br>    to:<br>    - "zone=us-east-1c"</span></div><span style="font-family:monospace,monospace">$ juju deploy ./test.yaml<br>ERROR cannot deploy bundle: the provided bundle has the following errors:<br>invalid placement syntax "zone=us-east-1c"</span><div><br></div><div>Anyone know if there's a way to do it?<br></div><div><br></div><div>Thanks,</div><div>George Kraft<br></div></div>