Puppet-AWS Could not find a suitable provider for ec2_instance
Hi, I followed instructions at https://github.com/puppetlabs/puppetl... to start playing with Puppet enterprise and AWS. I ran all setup in my home user directory, I have .Puppet,
I cd to /home/myuser/.puppet/modules/aws
, created a pp file based on the "Getting Started with aws" as follows
ec2_instance { 'instance-ByPuppet':
ensure => present,
region => 'us-west-2',
security_groups => 'gh-mysecgr',
image_id => 'ami-e7527ed7', # you need to select your own AMI
instance_type => 't1.micro',
}
When I run
puppet apply tests/createAMI.pp --test
I get
Notice: Compiled catalog for pemaster in environment production in 0.07 seconds Info: Applying configuration version '1430499881' Error: Could not find a suitable provider for ec2_instance Notice: Finished catalog run in 0.24 seconds
So, my understanding that this should spin a new VM in AWS, I don't need to create a VM in order this to work, am I correct? Thanks ina advance