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

[Fargate] [CloudFormation]: CloudFormation support for CWE #92

Closed
iconara opened this issue Jan 7, 2019 · 10 comments
Closed

[Fargate] [CloudFormation]: CloudFormation support for CWE #92

iconara opened this issue Jan 7, 2019 · 10 comments
Labels
Fargate AWS Fargate Proposed Community submitted issue

Comments

@iconara
Copy link

iconara commented Jan 7, 2019

Tell us about your request
Update the CloudFormation support for CloudWatch Events so that targets can be Fargate tasks.

Which service(s) is this request for?
Fargate

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
Its currently not possible to create a CloudWatch Events rule target that starts a Fargate task using CloudFormation. ECS is supported, but the validation does not allow the properties required to make it work for Fargate.

Are you currently working around this issue?
Creating the rule with CFN, but manually setting up the target in the UI.

@iconara iconara added the Proposed Community submitted issue label Jan 7, 2019
@abby-fuller abby-fuller added the Fargate AWS Fargate label Jan 18, 2019
@DraakUSA
Copy link

DraakUSA commented Apr 2, 2019

One would think that when AWS releases new abilities, they would include cloudformation support. We do everything with cloudformation as it's the only way to get stuff into production, since production is updated via automated processes only.

When is this expected to be available?

@whereisaaron
Copy link

whereisaaron commented Apr 2, 2019

Yeah @DraakUSA, the disconnect between CloudFormation and AWS's own products is perplexing.

AWS API changes get support in Terraform in only days after public release. Yet CloudFormation, which should have the inside scoop, can take weeks, or months, or just never support AWS API changes. There are some resources that have had tags support added, that have just never been updated to support tags in CloudFormation. ¯\_(ツ)_/¯

@toneill818
Copy link

It looks like the CloudWatch Events Rule's EcsParameters needs updated to support the new data types (LaunchType, NetworkConfiguration, PlatformVersion). Being able to create fargate task triggers in CWE Rules will be very useful.

@deleugpn
Copy link

deleugpn commented May 8, 2019

Since this still has the proposed tag, should we assume that there's no chance of getting this addition to CloudFormation this year? My company is fully deployed on Fargate now, however we have a few Tasks scheduled using CWE and we're running an EC2 instance only to support that and nothing more.

@mukaibot
Copy link

mukaibot commented Jun 4, 2019

+1 - we currently have a Lambda hack to start Fargate containers and it's very annoying :(

@cgatamedia
Copy link

We also need to schedule Fargate container through Cloudformation.

@mukaibot could you please share the lambda you're using ? Thanks in advance

@phcyso
Copy link

phcyso commented Jul 16, 2019

+1
I am currently getting around this by using the AWS CDK which creates custom resources and lambda's to create the event target. This is not great as its adds a lot of complexity to what should be a very simple thing to do in cloudformation.

@ngander-amfam
Copy link

+1
This should be quite simple but without CF support it's not. I echo @toneill818 and @whereisaaron comments above.

@toneill818
Copy link

It looks like this is finally on their roadmap but they are tracking it with issue #392

@clareliguori
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fargate AWS Fargate Proposed Community submitted issue
Projects
None yet
Development

No branches or pull requests