Hey folks,
How you guys maintain your ec2 instances using aws module from command
line? I intend to rely on RAL or mco to be able to provision instances on
demand, without declaring them in puppet/hiera, but just take defaults from
there. I want to let my build server to execute command like:
puppet resource ec2_instance <hostname> ensure=present =<value>
so it could take defaults(ami, region etc) from hiera and kick few build
instances with unique hostnames.
I faced with some issues here: not all params can be passed to RAL, namely
user*_data, block*devices
puppet resource ec2*instance someinstance ensure=present
region=eu-central-1 image*id=xxxxx security*groups='xxxxx' subnet=xxxxx
instance*type=m3.medium block*devices=[{'delete*on*termination':'true',
'volume*size':10, 'device*name':'/dev/sda'}] Error: Could not run: Invalid
parameter setting volume*size:10,
seems its not possible to pass hash to 'puppet resource' either.
Any thoughts on how can I pass these attributes or how to force usage of
defaults from hiera?
Much appreciated, Sergey
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/5e530737-2231-489c-b5e1-1f8f480ff772%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.