diff --git a/salt/states/boto_sns.py b/salt/states/boto_sns.py index 732b8d2cf7..ee57b09f59 100644 --- a/salt/states/boto_sns.py +++ b/salt/states/boto_sns.py @@ -151,7 +151,7 @@ def present( # Example: https://user:****@my.endpoiint.com/foo/bar _endpoint = subscription['endpoint'] matches = re.search( - 'https://(?P\w+):(?P\w+)@', + r'https://(?P\w+):(?P\w+)@', _endpoint) # We are using https and have auth creds - the password will be starred out,