Skip to content
New issue

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

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

Already on GitHub? # to your account

Add LaunchTemplate property to EKS NodeGroup #1780

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
9 changes: 9 additions & 0 deletions troposphere/eks.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,14 @@ class ScalingConfig(AWSProperty):
}


class LaunchTemplateSpecification(AWSProperty):
props = {
'Id': (basestring, False),
'Name': (basestring, False),
'Version': (basestring, False),
}


class Nodegroup(AWSObject):
resource_type = "AWS::EKS::Nodegroup"

Expand All @@ -87,6 +95,7 @@ class Nodegroup(AWSObject):
'ForceUpdateEnabled': (boolean, False),
'InstanceTypes': ([basestring], False),
'Labels': (dict, False),
'LaunchTemplate': (LaunchTemplateSpecification, False),
'NodegroupName': (basestring, False),
'NodeRole': (basestring, True),
'ReleaseVersion': (basestring, False),
Expand Down
1 change: 1 addition & 0 deletions troposphere/fsx.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

VALID_LUSTRECONFIGURATION_PERUNITSTORAGETHROUGHPUT = (50, 100, 200)


def validate_lustreconfiguration_deploymenttype(lustreconfiguration_deploymenttype): # NOQA
"""Validate DeploymentType for LustreConfiguration"""

Expand Down