8000 Fix issues with ecs.EFSVolumeConfiguration usage by avosper-intellaegis · Pull Request #1808 · cloudtools/troposphere · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix issues with ecs.EFSVolumeConfiguration usage #1808

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

Merged
merged 2 commits into from
Oct 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion troposphere/ecs.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ class AuthorizationConfig(AWSProperty):

class EFSVolumeConfiguration(AWSProperty):
props = {
'AuthorizationConfig': AuthorizationConfig,
'AuthorizationConfig': (AuthorizationConfig, False),
'FilesystemId': (basestring, True),
'RootDirectory': (basestring, False),
'TransitEncryption': (ecs_efs_encryption_status, False),
Expand Down
3 changes: 2 additions & 1 deletion troposphere/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,7 @@ def ecs_efs_encryption_status(status):
valid_status = ['ENABLED', 'DISABLED']
if status not in valid_status:
raise ValueError(
'ECS EFS Encryption in transit can only be one of' % (
'ECS EFS Encryption in transit can only be one of: "%s"' % (
', '.join(valid_status))
)
return status
0