That URL above refers to:

location:
  whatever-location-they-have-configured:
  brooklyn.config:
    imageId: ami-12345

The YAML parser complains about this, and if I move `brooklyn.config` to
the same indentation as `location` then it does not apply the `imageId`
properly.

On Thu, Oct 20, 2016 at 7:39 PM Andrea Turli <[email protected]>
wrote:

> Cant test it now but is this not working?
>
> https://cloudsoftcorp.slack.com/archives/D1Z6Z28MU/p1476978072000043
>
> Il 21/ott/2016 00:31, "Mike Zaccardo" <[email protected]> ha
> scritto:
>
> > Hi dev,
> >
> > I'd like to override the `imageID` of a location so it applies to all
> > entities in a blueprint. Consider this simple blueprint:
> >
> > ```
> > name: Server (Brooklyn Example)
> >
> > location: aws-ec2-us-east-1
> >
> > services:
> > - type: server
> >   name: My VM
> >   provisioning.properties:
> >     imageId: us-east-1/ami-6224a40a
> > ```
> >
> > This will successfully deploy a VM to my preconfigured location named
> > `aws-ec2-us-east-1` with the desired AMI `us-east-1/ami-6224a40a`.
> However,
> > I'd like to add more services to this blueprint but do not want to have
> to
> > specify `provisioning.properties` and `imageId` for each one. What is the
> > proper syntax to set the `imageId` for the location itself so that it
> will
> > apply to all entities?
> >
> > Thanks,
> > Mike
> >
>

Reply via email to