Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSM Notification config fix #930

Merged
merged 1 commit into from
Dec 2, 2017
Merged

SSM Notification config fix #930

merged 1 commit into from
Dec 2, 2017

Conversation

vsimakhin
Copy link
Contributor

fix the validator, otherwise it raises the error isinstance() arg 2 must be a type or tuple of types

File ".../templates/common/ssm/common_ssm_v1.py", line 165, in main
    NotificationType=utils.parse_arg(notification_config, name="type")
  File ".../lib/python3.6/site-packages/troposphere/__init__.py", line 341, in __init__
    super(AWSProperty, self).__init__(title, **kwargs)
  File ".../lib/python3.6/site-packages/troposphere/__init__.py", line 124, in __init__
    self.__setattr__(k, v)
  File ".../lib/python3.6/site-packages/troposphere/__init__.py", line 189, in __setattr__
    if not isinstance(v, tuple(expected_type)) \
TypeError: isinstance() arg 2 must be a type or tuple of types

@markpeek markpeek merged commit 4af80be into cloudtools:master Dec 2, 2017
@markpeek
Copy link
Member

markpeek commented Dec 2, 2017

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants