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

Add Fargate support to ECS types #929

Merged
merged 1 commit into from
Dec 2, 2017
Merged

Conversation

ejholmes
Copy link
Contributor

This updates the ECS Service type to support the new properties for enabling VPC networking and Fargate support.

@shyamvala
Copy link

Thanks for the update @ejholmes. To complete Fargate support I think some changes needed to be done on the Task Definition side as well especially for supporting CPU and Memory fields.

http://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_TaskDefinition.html

@ejholmes
Copy link
Contributor Author

ejholmes commented Dec 1, 2017

Good call! I've updated, and add an example for launching nginx using Fargate (tested in CloudFormation).

Copy link
Member

@markpeek markpeek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ejholmes! Just one more small tweak needed.

'NetworkMode': (basestring, False),
'PlacementConstraints': ([PlacementConstraint], False),
'RequiresCompatibilities': (list, False),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of "list" this should be "[basestring]" which will do checks on the elements as well.

@ejholmes
Copy link
Contributor Author

ejholmes commented Dec 2, 2017

@markpeek fixed

@markpeek markpeek merged commit 819ff06 into cloudtools:master Dec 2, 2017
@markpeek
Copy link
Member

markpeek commented Dec 2, 2017

Thanks @ejholmes for the Fargate changes. And appreciate the input from @shyamvala as well.

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.

3 participants