diff --git a/cloud/amazon/cloudformation.py b/cloud/amazon/cloudformation.py index b25d76526fa..5852c5b2b7f 100644 --- a/cloud/amazon/cloudformation.py +++ b/cloud/amazon/cloudformation.py @@ -78,7 +78,7 @@ options: version_added: "1.5" template_url: description: - - Location of file containing the template body. The URL must point to a template (max size: 307,200 bytes) located in an S3 bucket in the same region as the stack. This parameter is mutually exclusive with 'template'. Either one of them is required if "state" parameter is "present" + - 'Location of file containing the template body. The URL must point to a template (max size: 307,200 bytes) located in an S3 bucket in the same region as the stack. This parameter is mutually exclusive with 'template'. Either one of them is required if "state" parameter is "present"' required: false version_added: "2.0" @@ -88,7 +88,6 @@ extends_documentation_fragment: aws EXAMPLES = ''' # Basic task example -tasks: - name: launch ansible cloudformation example cloudformation: stack_name: "ansible-cloudformation" @@ -105,13 +104,12 @@ tasks: Stack: "ansible-cloudformation" # Removal example -tasks: - name: tear down old deployment cloudformation: stack_name: "ansible-cloudformation-old" state: "absent" + # Use a template from a URL -tasks: - name: launch ansible cloudformation example cloudformation: stack_name="ansible-cloudformation" state=present