Closed tw1t611 closed 4 months ago
PS: It works when adding schedule
.
fargate:
memory: "4GB"
cpu: 2048
logGroupName: fargate-log-group
tasks:
daily:
image: python
service:
spot: true
schedule: "rate(1 minute)"
The container is supposed to be triggered by a lambda.
So I would need it without the schedule
option.
I have the same issue.
Works:
fargate:
tasks:
process-updates:
image: my-image
memory: '2GB'
cpu: 512
schedule: rate(10 minutes)
Forever in create:
fargate:
tasks:
process-updates:
image: my-image
memory: '2GB'
cpu: 512
service:
desiredCount: 1
I think I'm seeing a similar problem - since this has been open since last year, is this still being looked at?
https://stackoverflow.com/a/66802973
Need to enable assignPublicIp
if using an ECR image + public subnet due to a recent AWS update. Or attach a NAT gateway or ECR VPC endpoint if private (more expensive).
The deployment is stuck on service. Manual stack termination is needed. (No build error) The project is rather small, so the build time should not be the problem. Docker container builds and runs locally.
serverless.yml
Dockerfile
error