Fix SNS topic attribute typo

Enables adding SNS topic policy. 'Policy' attribute is capitalized.
reviewable/pr18780/r1
Fernando J Pando 9 years ago
parent f5e798f13c
commit fbf9da2119

@ -252,7 +252,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…
Cancel
Save