As in ``` const ffmpegThumbnailTask = new cloud.Ta...
# general
p
As in
Copy code
const ffmpegThumbnailTask = new cloud.Task("ffmpegThumbTask", {
    build: "./",  // folder containing the Dockerfile
    memoryReservation: 512,
});
l
No, there is not. our recommendation is to move to using awsx, where you can create resources much more closely related to their aws equivalents
and where we've tried to expose all this flexbility
the issue with 'cloud' is that it attempts to be cross-cloud. but things like TaskExecutionRoles are aws specific
awsx is the converse of this. it is highly aws opinionated
p
Got it - can you point me in the awsx direction?
l
but offers a more convenient and flexible ways to create things.
For creating a task?
p
Perfect - that should be plenty to get started with!
Thank you @lemon-spoon-91807
l
sure!
p
I'm sure it's possible - but I'm not seeing options to pass environmental variables to
FargateTaskDefinition.run()
- does that work similarly to how it's defined in the
cloud
sdk?
Wait - nevermind - I found it!
l
All good?
p
Yup - had to do some digging, but I found it.