Merge pull request #1653 from nand0p/devel
Fix SNS topic attribute typo
This commit is contained in:
commit
d902a6d9ad
1 changed files with 4 additions and 2 deletions
|
@ -21,7 +21,9 @@ short_description: Manages AWS SNS topics and subscriptions
|
|||
description:
|
||||
- The M(sns_topic) module allows you to create, delete, and manage subscriptions for AWS SNS topics.
|
||||
version_added: 2.0
|
||||
author: "Joel Thompson (@joelthompson)"
|
||||
author:
|
||||
- "Joel Thompson (@joelthompson)"
|
||||
- "Fernando Jose Pando (@nand0p)"
|
||||
options:
|
||||
name:
|
||||
description:
|
||||
|
@ -255,7 +257,7 @@ def main():
|
|||
connection.set_topic_attributes(arn_topic, 'DisplayName',
|
||||
display_name)
|
||||
|
||||
if policy and policy != json.loads(topic_attributes['policy']):
|
||||
if policy and policy != json.loads(topic_attributes['Policy']):
|
||||
changed = True
|
||||
attributes_set.append('policy')
|
||||
if not check_mode:
|
||||
|
|
Loading…
Reference in a new issue