diff --git a/cloud/amazon/ec2_search.py b/cloud/amazon/ec2_search.py index cc8929d5f37..0114bec14b5 100644 --- a/cloud/amazon/ec2_search.py +++ b/cloud/amazon/ec2_search.py @@ -45,6 +45,12 @@ options: required: false default: All Regions aliases: [] + ignore_state: + description: + - instance state that should be ignored such as terminated. + required: false + default: terminated + aliases: [] author: - "Michael Schuett (@michaeljs1990)" extends_documentation_fragment: aws @@ -57,7 +63,7 @@ EXAMPLES = ''' - ec2_search: key: mykey value: myvalue - + register: servers ''' try: import boto