0

This solution no longer works How to specify ec2 instance types for different services? since using the default-image-id option in the environments file has been deprecated.It mentions in the documentation that we can use constraints but what should be the key. I tried different ways like

  • juju bootstrap --constraints "image-id: ami-xxxxxxxx"
  • juju bootstrap --constraints "default-image-id: ami-xxxxxxxx"
  • juju bootstrap --constraints "ami-image-id: ami-xxxxxxxx"

but it didn't work. Can someone help me with this?

0 Answers0