[cloud][docs] Document default/required 'state' in CloudFormation module (#31642)

* fix documentation to match default/required status of 'state'

* add 'choices'
pull/4420/head
Ted Timmons 2017-10-12 12:31:42 -07:00 committed by Ryan Brown
parent 341db894f5
commit bc1e3d22c2
1 changed files with 3 additions and 1 deletions

View File

@ -47,7 +47,9 @@ options:
description:
- If state is "present", stack will be created. If state is "present" and if stack exists and template has changed, it will be updated.
If state is "absent", stack will be removed.
required: true
default: present
choices: [ present, absent ]
required: false
template:
description:
- The local path of the cloudformation template.