Hi Guys,
I am using ec2 ami to create image of instance and getting error as above. Please help.
ansible version: 2.2.1.0
- name: Create ami from the image
local_action:
module: ec2_ami
aws_access_key: “{{ xxxxxxxxxxxxxxxxxxxxx}}”
aws_secret_key: “{{ yyyyyyyyyyyyyyyyyyyyyy}}”
instance_id: “{{ new_instanceid }}”
region: ‘us-east-1’
wait: yes
name: xxxxxxx
Name: newtest
Service: TestService
register: image