Skip to content

Commit

Permalink
[ec2_ami_copy] Add return documentation (ansible#32012)
Browse files Browse the repository at this point in the history
  • Loading branch information
prasadkatti authored and s-hertel committed Oct 27, 2017
1 parent 81f34cd commit 033a6a1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/ansible/modules/cloud/amazon/ec2_ami_copy.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,14 @@
kms_key_id: arn:aws:kms:us-east-1:XXXXXXXXXXXX:key/746de6ea-50a4-4bcb-8fbc-e3b29f2d367b
'''

RETURN = '''
image_id:
description: AMI ID of the copied AMI
returned: always
type: string
sample: ami-e689729e
'''

from ansible.module_utils.basic import AnsibleModule
from ansible.module_utils.ec2 import (boto3_conn, ec2_argument_spec, get_aws_connection_info)

Expand Down

0 comments on commit 033a6a1

Please sign in to comment.