mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-18 22:31:06 -07:00
Fix SNS topic attribute typo
Enables adding SNS topic policy. 'Policy' attribute is capitalized.
This commit is contained in:
parent
61672e5c61
commit
6d69956f83
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,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…
Add table
Add a link
Reference in a new issue