user_data script on AWS Windows Instance

asked 2018-04-06 07:09:34 -0500

Tarun Mangla gravatar image

I am trying to pass a user_data script with my puppet launch code to deploy an EC2 instance and send a powershell script to load the puppet agent at the time of ec2 instance creation. But nothing happens on my windows instance after launch. Beloware the code . I have stored the windows-pe.erb file inside /etc/puppetlabs/code/environments/production/modules/aws/templates/windows-pe.erb' i am giving the manifests as user_data =>template(aws/windows-pe.erb)

Can you suggest me where i am going wrong.

edit retag flag offensive close merge delete